DP batch scheduling environment exit
The scheduling environment exit is called by DP batch (extend or re-plan) for every operation as soon as the plan is produced, so that users can change the scheduling environment associated to the operation depending on their requirements.
The EQQDPX01 sample, provided with SEQQSAMP, assigns the scheduling environment value according to the special resource name used by the operation each time this starts with ‘SCHENV=’. For example, an operation allocating the special resource SCHENV=DB2ACTIVE, will have the scheduling environment name set to DB2ACTIVE.
This exit can affect the performance of DP batch. For this reason, it should be used only when necessary and care should be taken to limit I/O processing (for example, needed files should be opened and closed at the start and the end of the exit only).