Cisco Systems S/390 manual Exit Point When an ABEND has occurred in an exit program

Models: S/390

1 50
Download 50 pages 17.81 Kb
Page 12
Image 12
Exit Point: When an ABEND has occurred in an exit program.

Documentation

Exit Recovery Routine

The exit program can supply the address of a recovery routine via a parameter returned at the INIT exit point. The exit facility calls this routine in the event of an ABEND in the exit program. The recovery routine is called in the same mode as the ABENDing exit program, and is passed the System Diagnostic Work Area (SDWA) address and the EWA address (if any). Since the exit's recovery routine is called after the system's Recovery and Termination Manager (RTM) has finished processing the ABEND, it should perform only local clean-up functions. Any updates to the SDWA are ignored. The recovery routine should not attempt to free the SDWA, since this will be done by the exit facility.

Recovery Exit

Exit Point: When an ABEND has occurred in an exit program.

Function: Perform clean-up associated with the exit program.

Dispatchable Unit: Identical with the ABENDing exit program.

Register contents are shown in the following table.

Table 5

Recovery Exit Register Contents

 

 

Register

Contents on Entry

 

 

R00

SDWA (if processing under an SRB, a copy of the SDWA)

 

 

R01

Exit Work Area address (if applicable)

 

 

R02-R12

Zeros

 

 

R13

Save area address

 

 

R14

Return address

 

 

R15

Entry point address

 

 

On return from the recovery exit, R13 must be restored.

Exit Parameter List Mapping Macro - T00DEXPL

A new macro, T00DEXPL, is supplied to map the parameter lists to the exit program at the various exit points. The macro is distributed in the SAMP library.

12Cisco IOS for S/390 Release 2.0 Release Notes

Page 12
Image 12
Cisco Systems S/390 manual Exit Point When an ABEND has occurred in an exit program