Spooler Plus Utilities Reference Manual

Spoolcom
Spooler Plus Utilities Reference Manual522294-002
3-64
LIST Command
Considerations
If no current job is defined, the LIST command causes the most recently spooled
job to become the current job. To explicitly make a job current, use the JOB,
CURRENT command.
If you create a file for receiving output from the LIST command, take care that it is
large enough. If it is not, the LIST command terminates with file-system error 45
(file is full).
Pressing the BREAK key while Spoolcom is listing a job causes the listing to stop
and the Spoolcom prompt to be displayed.
Pressing the RETURN key or one of the function keys displays the job by lines
from the current line (actually, from the line following the one most recently listed,
or from the first line if none has been listed). Refer to Table 2-1 on page 2-7.
The NUMCOL and STARTCOL commands affect the operation of LIST. Spoolcom
will list only the text in each line from STARTCOL for NUMCOL columns. FIND
functions if string is located in any area, even that excluded by a NUMCOL or
STARTCOL command, but it displays only that area permitted by NUMCOL and
STARTCOL.
If a batch job is current, LIST operates on the first job that is part of the current
batch job.
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. The following command lists absolute page 23 in text format and absolute page 30
in octal display format:
)LIST 23, 30 O
2. The following command lists pages 15 through 35, inclusive:
)L 15/35
3. The following command lists the last page of the job:
)L
4. The following command lists the second page from the end of the job:
)LIST L-2
5. The following LIST command 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.
)P 5
)L F, *, L-1