Execution environment for exit routines
Exit routines are invoked by standard CALL statements.
With
some exceptions, which are noted under
General Considerations
in
the description of particular types of routine, the execution environment
is:
- Supervisor state
- Enabled for interrupts
- PSW key 7
- No MVS locks held
- For local requests, under the TCB of the application program that requested the Db2 connection
- For remote requests, under a TCB within the Db2 distributed data facility address space
- 31-bit addressing mode
- Cross-memory mode
In cross-memory mode, the current primary address space is not equal to the home address space. Therefore, some z/OS® macro services you cannot use at all, and some you can use only with restrictions. For more information about cross-memory restrictions for macro instructions, which macros can be used fully, and the complete description of each macro, refer to the appropriate z/OS publication.