For IPCS and ABEND/SNAP Formatting The exit routine
receives control for either type of formatting with:
- A program status word (PSW) in primary mode and enabled, pageable,
in task mode
- The addressing and residence modes specified when the exit was
link-edited
The exit routine should obtain working storage from the
subpool specified in field ADPLSBPL, by coding:
GETMAIN ... SP=adplsbpl_value
adplsbpl_value is
the value in field ADPLSBPL, contained in BLSABDPL.
The exit
routine must release all resources it acquired before the routine
completes processing.
For both ABEND/SNAP and IPCS formatting,
the system provides recovery for an exit routine. Use the ESTAE and
ESTAEX macros to provide additional recovery if desired, but do not
have recovery routines request retry. To ensure appropriate resource
clean-up, permit percolation to the recovery routines supplied by
the system.