Locating the last command or statement
The easiest way of locating the last command issued by your application before the abend is to use the internal trace table.
Before you begin
About this task
If you did not have trace running, you need to rely on values in registers belonging to your programs, and try to relate these to your source statements. That might lead you to an EXEC CICS command, or to another type of statement in your program. The procedure is outlined in Last statement identification.