SCHENV Parameter


Note! SCHENV parameter can be coded only at the job level.

SCHENV parameter specifies the WLM (Work Load Manager) scheduling environment that is associated with the current job when submitted. The scheduling environment is a predefined environment with a list of resources and their required settings.

SCHENV is mostly used in PRODUCTION jobs and is the name of the scheduler. SCHENV is a keyword parameter and is optional.

Syntax -

SCHENV=schenv-name
schenv-name Specifies the scheduling environment name.

Default and overrides -

If SCHENV is not coded, the job is not associated with any of the scheduled environments.

Examples -


Scenario1 - JOB with scheduling environment.

//MTHEXMP1 JOB (META007),'PAWAN Y',SCHENV=MTHENV

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

Scenario2 - JOB scheduling environment name with _.

//MTHEXMP1 JOB (META007),'PAWAN Y',SCHENV='MTH_SCHEDD_ENV'

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