PRIORITY/PRTY Parameter


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

PRTY parameter is used to assign a selection priority to jobs within the same class. JES system uses the PRTY value to decide the execution sequence of the jobs when they have same CLASS value.

If two submitted jobs have the same CLASS, then the highest priority job completes first, and the lowest priority job completes last, even though the lowest priority job was submitted first.

PRTY is a keyword parameter and is optional.

Syntax -

PRTY=priority-number
Priority-number Specifies the priority number. The values range is from 0-15 in JES2 and 0-14 in JES3. Higher number will have the higher priority during the execution. Among all the PRTY values, 15 is the highest priority in JES2 and 14 is the highest priority in JES3.

Default and overrides -

JES3 job priority in the following override order -

  1. The JOB statement PRTY parameter.
  2. An installation default specified at JES3 initialization
Note: - If the priority in the PRTY parameter is invalid, JES3 issues an error message.

Examples -


Scenario - JOB with PRTY parameter.

//MTHEXMP1 JOB (META007),'PAWAN Y',CLASS=A,PRTY=9

The JOB statement requests the system with the priority within class A.