Spooler Plus Utilities Reference Manual

Spoolcom
Spooler Plus Utilities Reference Manual522294-002
3-73
PAG E Co m ma nd
PAGE Command
The PAGE command displays or changes the page and line-number position of the
current job. If there is no current job, then the job most recently spooled becomes the
current job. Page numbers begin with 1 and do not include the header page, if any.
Spoolcom assumes 60 lines to a page.
number
is the page number of the new page position for the current job.
F
indicates that the new page position for the current job is the first page.
L
indicates that the new page position for the current job is the last page.
*
indicates that the new page position for the current job is the first line of the current
page.
Considerations
When you specify no argument, the spooler displays the page and line number
position of the current job.
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 Spoolcom 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
)
P[AGE] [ number | F | L | * ]