Invoking a single exit program at more than one exit
To invoke a single exit program from more than one exit point, you must issue an ENABLE command for each of the exit points.
For programming information about how to issue an ENABLE command, see Exit-related commands. Be careful to specify GALENGTH or GAENTRYNAME on only the first ENABLE command, otherwise ‘INVEXITREQ’ may be returned.
Take into account the restrictions that apply to the use of CICS® services, because these are dictated by the exit point itself rather than by the exit program. A command that can be issued from one exit point might cause problems when issued from a different exit point.
The global work area is associated with the exit program, rather than with the exit point: this means that the same global work area is used at each of the exit points at which the exit program is invoked.