NetBatch Manual

Attributes
NetBatch Manual522460-004
7-92
PRI Job Attribute
PRI Job Attribute
The PRI job attribute specifies the execution priority of a job’s executor-program
process.
number
is a number in the range 1 through 199 (1 is lowest) specifying the execution
priority of a job’s executor-program process.
Considerations
A job submitted without the PRI attribute adopts the DEFAULT-PRI scheduler
attribute. To display the value of this attribute, use the INFO SCHEDULER
command.
The MAX-PRI scheduler attribute overrides the PRI job attribute. For details, see
MAX-PRI Scheduler Attribute on page 7-81.
To prevent a batch job from taking precedence over an online application, make
the job’s execution priority lower than the application’s priority.
Examples
This example shows the submission of two jobs. Job 11 has its PRI attribute
specified by the SUBMIT JOB command. Job 12 adopts the DEFAULT-PRI
scheduler attribute.
13} INFO SCHEDULER, DEFAULT-PRI
SCHEDULER ATTRIBUTES
default-pri: 120
14} SUBMIT JOB, PRI 99
Job ZBAT-0011 Jobnumber 11 submitted
15} INFO JOB 11, PRI
JOB ATTRIBUTES for ZBAT-0011
jobnumber: 11
pri: 99
16} SUBMIT JOB
Job ZBAT-0012 Jobnumber 12 submitted
17} INFO JOB 12, PRI
JOB ATTRIBUTES for ZBAT-0012
jobnumber: 12
pri: 120
This example shows the execution priorities of a job’s processes and the sources
of those priorities. The job’s TACL executor-program process $Z357 has an
execution priority of 123 (specified by the PRI attribute). FUP processes $F1 and
$F2 created by the TACL process run at the priority specified by their RUN
commands. FUP process $F3 runs at a priority one less than that of the TACL
process. (This setting is the TACL default for processes whose RUN commands do
PR[I] number