NBSpool for MPE Reference Guide

Running NBSpool
2-19
Command Redirection
Redirection allows the output of certain commands to be sent to an output file other than $STDLIST.
The syntax for redirection is:
O> command >[filespec]
The
filespec
entry is a file name or back-referenced file equation.
If no
filespec
is specified, the output will go to NBOUTPUT, which by default is directed to the
device class
LP. If no file exists, one will be built as a temporary, variable ASCII file with CCTL
enabled. Use a file equation to alter these default characteristics.
If the
filespec
entry is invalid in any way, it will be assumed that it is part of the command
string. Also, it will be completely ignored if it is specified on a command that does not support
redirection.
If an error occurs when opening the redirection file, the command will not be executed. If an error
occurs while writing to the file, the command will continue processing, but the output will be
thrown away and a message will be printed when the command is finished.
Commands that Support Redirection
All output from the commands shown below will be sent to the redirection file with the exception
of the
Scanning and
n files qualified
messages.
ALTER ARCDIR ARCHIVE BANNER COPY DUP
LIST MERGE MOVE PURGE RESTORE SHOW
STORE TAPEDIR UNARCHIVE VDIR VFILE VSAVE