Transaction abend codes
Transaction abend codes are four-character error codes, defined by CICS® or by the user, that are used at abnormal termination of transactions. A transaction abend code indicates the cause of an error that may have occurred in CICS code or in a user program. When abnormal conditions occur, CICS can send a message to the CSMT transient data destination that contains the transaction ID, the program name, and the abend code.
Here is an example:
DFHAC2236:
date time applid
Transaction
tranid
abend
primary abcode
in program
program name
term
termid
backout successful
{ batchid = }
batchid
.
message
Alternatively, the application can intercept abends by including an active EXEC CICS HANDLE ABEND command. The actual abend code can be determined by issuing the EXEC CICS ASSIGN command with the ABCODE option.
The transaction identification code tranid usually consists of the 4 characters defined to CICS. However, when a transaction is initiated by using a light pen, an operator identification (OPID) card reader, or 3270 PA or PF keys (specified in the TASKREQ= operand), CICS creates an internal transaction identification in the form of a 1-byte 3270 attention identification (AID) code followed by 3 bytes of X'FF'.
The code that may actually appear in the message in place of the internally-created transaction identification will be * xx *, where xx is the character translation of the 3270 AID code. To prevent ambiguity, the user should avoid using these codes as transaction identifiers.
The keys, the light pen (LPA), and OPID, and their corresponding printed AID codes are given in the following list:
| Initiated by | Printed AID code | Initiated by | Printed AID code | Initiated by | Printed AID code |
|---|---|---|---|---|---|
| PF1 | *F1* | PF13 | *C1* | LPA | *7E* |
| PF2 | *F2* | PF14 | *C2* | OPID | *E6* |
| PF3 | *F3* | PF15 | *C3®* | PA1 | *6C* |
| PF4 | *F4* | PF16 | *C4* | PA2 | *6E* |
| PF5 | *F5* | PF17 | *C5* | PA3 | *6B* |
| PF6 | *F6* | PF18 | *C6* | ||
| PF7 | *F7* | PF19 | *C7* | ||
| PF8 | *F8* | PF20 | *C8* | ||
| PF9 | *F9* | PF21 | *C9* | ||
| PF10 | *7A* | PF22 | *4A* | ||
| PF11 | *7B* | PF23 | *4B* | ||
| PF12 | *7C* | PF24 | *4C* |
An abend code indicates the cause of an error that may have been originated by CICS or by a user program. For most of the abend codes described, a CICS transaction dump is provided at abnormal termination.
All CICS transaction abend codes abcode are 4-character alphanumeric codes of the form Axxx.
Format of information
- An explanation of events leading to or following the message.
- The action that has been or will be taken by CICS (system action).
- The action recommended for the user (console or terminal operator).
- The module or modules that can determine that the message should be sent (not necessarily the module or modules that can issue the macro to write the message.)
This documentation contains the abend codes for all releases of Version 6 of CICS Transaction Server for z/OS®. When the detail of an abend code differs between releases, there is a separate page for each changed abend code. The list of changed abend codes is shown in Changes to messages and codes and reflects only changes to the abend code itself, not to other elements, such as the Explanation.