SCHENV Parameter Example


Scenario1 - JOB with scheduling environment.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',SCHENV=MTHENV

Explaining Example -

Job is associated with the MTHENV scheduling environment and runs in the MTHENV environment.

Scenario2 - JOB scheduling environment name with _.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y',SCHENV='MTH_SCHEDD_ENV'

Explaining Example -

Job is associated with the MTH_SCHEDD_ENV scheduling environment and runs in the MTH_SCHEDD_ENV environment.

Scenario3 - JOB with no scheduling environment.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (META007),'PAWAN Y'

Explaining Example -

Job is not associated with any scheduling environment and runs in the SPOOL when it is submitted.