System recovery program exit xsrab, Exit xsrab, System recovery program exit xsrab exit xsrab – IBM SC33-1683-02 User Manual

Page 214

Advertising
background image

System recovery program exit XSRAB

Exit XSRAB

When invoked

When the system recovery program (DFHSRP) finds a match in the SRT for
an MVS/ESA™ abend code. For information about defining entries in the
SRT, refer to the

CICS Resource Definition Guide.

Note: The SRT table is only processed, and the exit driven, when an an

MVS abend occurs under a CICS essential TCB—that is, one of QR,
RO, CO, SZ, RP, FO. For non-essential TCB types, such as L8, J8,
SL, SO, or S8, the exit is not driven.

Exit-specific parameters

UEPERROR

Address of the error data structure, SRP_ERROR_DATA, which
contains the following fields:

SRP_ERROR_TYPE

The 4-character error type—always ‘ASRB’.

SRP_SYS_ABCODE

2 bytes containing the system abend code XXX in binary
format (for example, D37).

SRP_USER_ABCODE

2 bytes containing the user abend code NNNN in binary
format (for example, 0999).

SRP_ERROR_TRANID

4-character field containing the ID of the abending
transaction.

SRP_ERROR_STACK_NAME

8-character field containing the name of the current kernel
stack entry for the transaction at the time of the abend.

SRP_ERROR_PPT_NAME

8-character field containing the name of the current PPT
entry for the transaction, if one exists. This field contains a
value only if flag SRP_PPT_ENTRY is set.

SRP_ERROR_OFFSET

Fullword containing the offset into the program that
abended, as follows:

v

If flag SRP_PPT_ENTRY is set, gives the offset in
SRP_ERROR_PPT_NAME

v

Otherwise, gives the offset in
SRP_ERROR_STACK_NAME.

This field contains a value only if flag SRP_VALID_OFFSET
is set.

SRP_ERROR_FLAGS

1 byte containing flags:

SRP_CICS_CODE

The abend occurred while running CICS code.

system recovery program exit

182

CICS TS for OS/390: CICS Customization Guide

Advertising