Spooler Plus Utilities Reference Manual
Peruse
Spooler Plus Utilities Reference Manual—522294-002
2-37
PRI Command
Considerations
•
The current line can also be changed using a FIND command or by listing lines.
•
The pages of a spooled job include not only the pages of your spooled file but also
any error pages generated by your application. You can use this fact to find your
TFORM errors.
Refer to information on using Peruse with TFORM in the Guardian User's Guide.
Examples
1. In the following example, the PAGE command tells you the line and page number
of where you are located in the spooled job:
_PAGE
PAGE: 7 LINE: 15
_
2. If you use the * parameter, you are repositioned to the top of the current page:
_P *;P
PAGE: 7 LINE: 1
_
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.
PRI priority