DFHSRLIM interface

This interface is used to call program DFHSRLI. It provides two functions for DFHSRP, INVOKE_XSRAB and DIAGNOSE_ABEND.

INVOKE_XSRAB

This function invokes the XSRAB global user exit if active, and passes the structure SRP_ERROR_DATA to it. SRP_ERROR_DATA contains details of the operating system abend that occurred. The abend recovery option that the exit selects is returned, which is to terminate CICS®, abend the transaction with abend code ASRB, or abend the transaction with abend code ASRB and cancel any active abend exits.

You can map the SRP_ERROR_DATA that is passed to the XSRAB exit by using the DFHSRED TYPE=DSECT macro.

DIAGNOSE_ABEND

This function diagnoses a program check, operating system abend, or other error, to establish the location of the error. It returns the program in which the error occurred, the offset within that program, and whether the error occurred in CICS or user application code. (A decision based on the execution key; user key implies user application code.)