EXIT(nnn) - Exit and Exit Routine Association

Use the EXIT(nnn) statement to associate a JES2 exit with one or more installation-supplied routines. You also use this statement to enable or disable the JES2 exit and to specify whether tracing is to be performed for the exit. (See z/OS JES2 Installation Exits for further information about JES2 exits and installation-supplied exit routines.)

The exit number, nnn, is a value from 1 to 255 which identifies the JES2 exit. If the exit number supplied is not defined in the JES2 member, message $HASP857 WARNING - EXIT(nnn) NOT DEFINED WITHIN CURRENTLY LOADED JES2 MODULES will be issued. (Exit 0, pre-initialization, does not require or use an EXIT(nnn) statement.) The subscript (nnn) specifies the exit identifier (1-255) of the installation-supplied exit routine(s) to be called when the specified exit is taken. No more than 255 installation-supplied routines can be associated with an exit. See z/OS JES2 Installation Exits for information on identifying installation-supplied exit routines to JES2. You must specify at least one installation-supplied routine name.

Note: If you modify EXIT(nnn) parameter values and then restart JES2 with a hot start, the parameter values in effect before termination will be used. JES2 uses the exits that were enabled before JES2 termination.