Spooler Utilities Reference Manual
Peruse
Spooler Utilities Reference Manual—522295-003
3-44
PRI Command
PRI Command
The PRI command alters the priority of the current job. If there is no current job, then
the job most recently spooled becomes the current job. The higher the priority, the
sooner a job will print.
priority
is a number in the range 0 through 7. Zero is the lowest priority.
The default priority is 4.
Considerations
When a job is added to the spooler, it is given a priority of 4.
The actual queuing algorithm used by the spooler depends on the setting of the
device first-in, first-out (FIFO) switch. However, regardless of the FIFO switch,
higher-priority jobs are always printed before lower-priority jobs.
If the FIFO switch is on, jobs of the same priority are handled on a first-come,
first-served basis.
If the FIFO switch is off, shorter jobs of the same priority are handled before
longer jobs of that priority. However, a long job does not wait indefinitely for
shorter jobs.
If a batch job is current, the PRI command operates on all jobs that are part of the
current batch job.
The PRI command is not supported if the current job is a spooler job file.
For a more complete description of the spooler queuing algorithm, see the
Guardian System Operations Guide.
Example
In this example, your current job has the default priority of 4. You can change this to 5
with the PRI command, putting your job ahead of other jobs in the queue that have a
priority of 4 or lower.
PRI priority
_J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 52 READY 7 1 4 #LP ACCOUNT ED
_PRI 5;J
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 52 READY 7 1 5 #LP ACCOUNT ED
_