Rules for coding macroinstructions and exit routines

The following rules apply with a multiple-address-space application program:
  • The ACB must reside in the common service area (CSA). The APPLID and PASSWD data areas referenced by the ACB must reside in the ACB address space. Similarly, for a communication network management application program, the NIB and all data areas referenced by it must be in the ACB address space.
  • The EXLST referenced by the ACB or NIB must reside in the CSA.
  • The RPL and data areas referenced by the RPL must be addressable from the address space issuing an RPL-based macroinstruction. For RECEIVE OPTCD=ANY, the RPL and data areas must also be addressable from the ACB and session address spaces.
  • It is recommended that any exit routine that might run in more than one address space be reentrant and placed in the link pack area (LPA).