Previous Topic: The CICS Life of Task Control Block (CLOT)Next Topic: Inspect the Application Invocation Parameter List (RDIIN)


Reason and Abend Codes--Inspecting and Interpreting

If the thread subtask abended (CLOTCFLG=18), the reason code is contained in the CLOTWRK1 field and the abend code is contained in the CLOTWRK2 field. Both abend reason codes and subsystem termination reason codes have the following format:

X'00ccxxxx'
X'00'

Specifies the high‑order byte

X'cc'

Specifies the hexadecimal sub‑component identifier

X'xxxx'

Specifies the hexadecimal reason code

To display this information on a single diagnostic screen, type the following command and press Enter:

CORE=SQLRCODE

A sample diagnostic CA InterTest for CICS display follows.

     CA InterTest for CICS V9.1 - MAIN STORAGE UTILITY  Termid = LXD6         Transaction DB2C, Program COBSQL   has terminated with an DSNC abend.               The reason code for this failure is:          18                The thread subtask has abended; see subtask dump.                  The failing DB2 subcomponent identifier is: 00E7                Relational data system.               The subsystem termination reason code is:   000D      Refer to the IBM DATABASE 2 Messages and Codes, Part 4. Reason Codes,   for detailed information.            -----------------------------------------------------------------------    PFKEYS 1 Help     2           3 End       4 Return      5            6           7          8           9          10            11           12    CORE=SQLRCODE    

Note: For an explanation of the codes, see the DB2 Messages and Codes manual.