Spooler Plus Utilities Reference Manual
Peruse
Spooler Plus Utilities Reference Manual—522294-002
2-31
LIST Command
Examples
These examples do not show the pages listed because it would require too much
space. However, the effect of each example is discussed in detail.
1. This command lists absolute page 23 in text format and absolute page 30 in octal
display format:
_LIST 23, 30 O
2. This command lists pages 15 through 35, inclusive:
_L 15/35
3. This command lists the last page of the job:
_L
4. This command lists the second page from the end of the job:
_LIST L-2
5. The LIST command below shows the first page, the second page, and the next-to-
last page in the job. Page 5 is not listed because the current page changes during
the LIST command. Also see the PAGE Command on page 2-36.
_P 5
_L F, *, L-1
6. You can use /OUT $S.#device/ to print all or only a few pages of an already
spooled file. The example below prints page 1 and pages 16 through 20 of the job.
Because the destination is a spooler collector, formatting-control information is
included by default, so the C parameter is unnecessary. (You would use the N
parameter to omit formatting-control information.)
_LIST /OUT $S.#LP/ 1, 16/20
7. The command below lists the entire job to the disk file $DISK.SVOL.MYFILE,
which is an EDIT file. If $DISK.SVOL.MYFILE already exists, ! specifies that
Peruse should purge it and create a new EDIT file with the same name before
listing begins.
_LIST E /OUT $DISK.SVOL.MYFILE !/ A
8. The command below lists pages 1 through 20 of the current job to a spooler job file
named $OLDVOL.SAVE.MYJOB. Because the ! parameter is omitted, Peruse
appends the listed pages to the end of $OLDVOL.SAVE.MYJOB if that file already
exists.
_LIST S /OUT $OLDVOL.SAVE.MYJOB/ 1/20
9. You can use Peruse to check a spooled TFORM file for errors before you use
/OUT $S.#device/ to print the pages you want. If you find unacceptable errors,
you can rerun the job before printing out any pages. If there are no errors, you can
follow the example below to print pages 16 through 19. Because the file is a