Configuring JES for dependent regions
The EOM broadcast is always made when an IMS dependent region running as a started task ends, but the EOM broadcast may not be made, and therefore not processed, when a batch job ends.
For IMS dependent regions run as batch jobs, an EOM broadcast is not made until both the job and the initiator used by that job ends. Therefore, if a dependent region is run as a batch job and it encounters a storage problem as described, the EOM clean up service will not be invoked until the initiator ends.
In a JES2 environment, initiators that are used for dependent regions can be set to stop automatically when the job ends by implementing an IBM®-defined exit.
Use JES2 exit 32 for Subsystem Interface (SSI) Job Selection to specify that the initiator is to end (drain) or to end and restart when the job ends.
- Set bit 4 in the response byte to end and then restart the initiator when the job ends.
- Set bit 5 to end the initiator when the job ends (for more details see z/OS® V1R12.0 JES2 Installation Exits SA22-7534-12 ).
In a JES3 environment, initiators that are used for dependent regions can be set to stop automatically when the job ends by specifying either DYNAMIC or DEMAND for the UNALOPT option of the EXRESC parameter in the initiator's GROUP definition (see z/OS JES3 Initialization and Tuning Guide SA22-7549-11 for more details).