Abend codes: DFHSRT TYPE=SYSTEM|USER
The DFHSRT TYPE=SYSTEM and TYPE=USER macros specify system and user abend codes that are to be intercepted by CICS®.
- TYPE={SYSTEM|USER}
- Indicates the type of abend code to be intercepted.
- SYSTEM
- The abend code is an operating system abend code corresponding to an MVS Sxxx abend code.
- USER
- The abend code is a user (including CICS) abend code corresponding to an MVS Unnnn abend code.
- ABCODE=(abend-code,...)
- Code this with the abend code (or codes) to be intercepted. If you specify a single abend code, parentheses are not required.
If you code TYPE=SYSTEM, this abend code must be three hexadecimal digits (xxx) representing the MVS system abend code Sxxx.
If you code TYPE=USER, this abend code must be a decimal number (nnnn) representing the user part of the MVS abend code Unnnn. This is usually the same number as the CICS message that is issued before CICS tries to terminate abnormally.
- RECOVER={YES|NO}
- specifies whether codes are to be added to or removed from the SRT.
- YES
- Code this to add the specified codes to the SRT.
- NO
- Code this to remove the specified codes from the SRT.
- CICS intercepts the following abend codes automatically and tries to recover:
001,002,013,020,025,026,030,032,033,034,035, 036,037,03A,03B,03D,052,053,067,0D3,0D4,0D5, 0D6,0D7,0D8,0E0,0F3,100,113,137,202,213,214, 237,283,285,313,314,337,400,413,437,513,514, 613,614,637,713,714,737,813,837,913,A13,A14, B13,B14,B37,D23,D37,E37Abend code 0F3 covers various machine check conditions. It also covers the Alternate Processor Retry condition that can occur only when running on a multiprocessor. CICS-supplied recovery code attempts to recover from instruction-failure machine checks on the assumption that they are not permanent. It also attempts to recover from Alternate Processor Retry conditions.
CICS will try to recover from these standard abend codes if you code the system recovery table (SRT) as:DFHSRT TYPE=INITIAL DFHSRT TYPE=FINAL ENDThere is no need to list the standard codes individually.
- If you want CICS to handle other errors, you can code the SRT as follows:
DFHSRT TYPE=INITIAL DFHSRT TYPE=SYSTEM,or USER, ABCODE=(user or system codes), RECOVER=YES DFHSRT TYPE=FINAL END - If you do not want CICS to try to recover after one or more of the standard abend codes occurs, specify the code(s) with RECOVER=NO, or without the RECOVER parameter.
- CICS tries to recover if a user task (but not a system task) is in control at the time the abend occurs.
