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'
Specifies the high‑order byte
Specifies the hexadecimal sub‑component identifier
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 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.
|
Copyright © 2012 CA.
All rights reserved.
|
|