Previous Topic: MIMINIXT (Common Exit Interface)Next Topic: Sample Exit Routines


How You Code Exit Routines

Follow these rules when coding any of the CA MII exit routines:

For additional rules for these routines, see Exit Routine Programming Considerations.

To code a user exit

  1. 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).

  2. 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.