You can control job execution by specifying JES2 job characteristics
in the following ways:
- Set the JES2 internal job numbers
- The $T NUM command allows you to set (or reset) the JES2job number base. JES2 assigns the new number base to the next
job entering the system; if the specified number is being used, JES2
assigns the next available number to the job.
Use the $T NUM,BASE=
command to help you track all new work entering the system or when
performing a reload operation. The $HASP609 message displays the new
job number base.
Note: If you enter the $D JOBDEF
command after issuing the $T NUM command, the JNUMBASE field displays
a value 1 less than the one you specified on the $T NUM command.
The next job number is actually the value of JNUMBASE + 1.
- Specify JES2 job characteristics
- The $T JOBDEF command allows you to control scanning of
the job's JCL as well as prioritization
in relation to the length of time the job awaits execution. Additional
parameters allow you to specify when you are to be alerted of a shortage
of job numbers and a shortage of job queue elements.
- Specify job scheduling priority
- The $T JOBPRTY(n) command allows you to specify the job
scheduling priority in relation to execution time. This command affects
only those jobs that have not yet entered the system. When you enter
the $T JOBPRTY(n) command, the $HASP832 message displays the current
values of all the parameters on the JOBPRTY(n) initialization statement.
- Specify the estimated execution time for jobs
- The $T ESTIME command allows you to specify the default
time for jobs that
have not yet been selected for execution and the action that JES2
takes (to notify you at specified intervals or not) if a job exceeds
this time. You can issue the $T JOBPRTY(n) command to increase
the priority of jobs that have exceeded the time specified on the
$T ESTIME,NUM= command.
There are other JES2 commands you can issue that allow you to specify
job characteristics that control job output. These commands are described
in the “Controlling Job Output”