NBSpool for MPE Reference Guide
Chapter 3
3-34
LIST
The
LIST
command displays some or all of the spool file opened by a prior
TEXT
command. The
format of the command closely approximates that of the contributed library program
QUAD
.
To copy a subset of a spool file to another spool file, use the
UNN
and
OFFLINE
parameters. This will
copy the selected range of lines to a new spool file named
NBSPLIST
. All carriage control will be
retained in the new file. All
FDEVICECONTROL
records will be stripped.
The
WAIT
parameter is used to continually monitor the progress of
OPEN
spool files. The command
will display to the end of the spool file and then pause for a specified time. After the pause, any new
lines that have been written to the spool file will be displayed. The command will terminate if the
spool file is closed or if you press
Ctrl+Y
.
Note. Timing considerations can cause the listing of the last block of an
OPEN
spool file
to be unsuccessful. If any error should appear, simply redo the command.
If the
CCTL
parameter is used, carriage controls and space modes are displayed within the file. This
parameter offers information similar to that displayed by the MPE
PRINTSPF
command. Any of the
LIST
command’s parameters may be shortened to as little as one character. For example,
FIRST
may
be abbreviated to
F
. Each subcommand must be separated by a space.
LIST Syntax
O> LIST [range] [CCTL ]
[OFFLINE ]
[PAUSE ]
[REMOVE ]
[TRUNCATE ]
[UNN ]
[VARS ]
[WAIT [=seconds]]
[string ]
Where:
range = {ALL }
{@ }
{[line][/line]}
User Tip. This command may be abbreviated to
L
. Also, the parameter in uppercase
can be abbreviated to one character.