

User Exits › CA MII User Exits › How You Code Exit Routines
How You Code Exit Routines
Follow these rules when coding any of the CA MII exit routines:
- Adhere to the restrictions as documented by each exit point.
- Make each routine reentrant.
- Routines are called in supervisor state, key zero or key eight. Be extremely careful not to violate storage boundaries.
- These routines can be called in either 24-bit or 31-bit mode. You can switch addressing modes (AMODEs) in a routine as long as the routine returns to the invoking program in the original addressing mode.
For additional rules for these routines, see Exit Routine Programming Considerations.
To code a user exit
- Use the EXIT parameter on the SETOPTION command to identify the appropriate load module for your routine.
For example, specify SETOPTION EXIT=GDIXMPXT when the module name is GDIXMPXT. If you use a module name different from the default module name, then specify your name on the LOAD parameter. For example, to use the load module USRXMPXT for the GDIXMPXT routine, specify SETOPTION EXIT=(GDIXMPXT LOAD=USRXMPXT).
- Customize the sample JCL in the ASMEXITS member of the CAI.CBTDJCL file to assemble and link-edit each completed exit routine as an authorized program, using the module name you specified on the SETOPTION command. Link-edit the routines into the authorized library that contains the CA MIM load modules.
Copyright © 2014 CA.
All rights reserved.
 
|
|