Previous Topic: How the Exit Starts

Next Topic: Exit Correlators

Registers on Entry to the Exit

When the exit is invoked, Register 1 contains the address of a fullword, which in turn contains the address of a communications area containing various parameters. This communications area can be mapped using a supplied macro, called $NMMAEX2. This macro provides a DSECT expansion to perform the mapping and detailed information about the content of each field.

Standard linkage conventions apply. On entry, the exit must save the contents of all registers (Register 13 contains the address of a save area) and on exit all registers must be restored to their contents on entry, with the exception of Register 15 which should contain a return code.