Associating a scheduling environment with a job

To associate a Scheduling Environment with an operation at the application description and current plan levels, you can use ISPF, PIF:
  • At submit time, the EQQUX001 controller user exit. EQQUX001 receives in input the scheduling environment value stored in the CP operation definition and has the option to change it. The returned value is then stored in the CP.
  • At plan creation time, the EQQDPX01 DP batch user exit. EQQDPX01 is called for every new operation; that is, for each operation extracted from LTP. It receives in input the scheduling environment value associated to the operation and has the option to change it. The returned value is then stored in the CP.

Note that the concept of scheduling environments does not apply to started tasks (the SCHENV= keyword cannot be inserted into a started task).