Example: EXLST macro
An EXLST macro is used to identify exit routines provided for analyzing
logical and physical errors. The label of the EXLST macro (EXITS)
is used in an ACB or GENCB macro that generates an access method control
block to associate the exit list with an access method control block.
The exit list generated by this example is built when the program
is assembled.
EXITS EXLST EODAD=(ENDUP,N), EXITS gives symbolic address x
LERAD=LOGICAL, of the exit list. x
SYNAD=(ROUTNAME,L)
ENDUP EODAD routine.
LOGICAL LERAD routine.
ROUTNAME DC C'PHYSICAL' Pad shorter names with x
blanks:C'SYN ' or CL8'SYN'.The parameters of the EXLST macro follow:
- EODAD specifies that the end-of-data routine is located at ENDUP and is not active.
- LERAD specifies that the logical error routine is located at LOGICAL and is active.
- SYNAD specifies that the physical error routine's name is located at ROUTNAME.