NetBase for MPE Reference Guide

Using NBDIR
4-13
Parameter Description
class (alternate) ldev
If specified, this parameter indicates an alternate spool device. The
alternate spool device is the device that the spool file will be redirected
to in the event that the primary spool node is unavailable.
Node (alternate)
If specified, this parameter is the node name or number of the
computer to which the alternate spool device is connected. This
parameter is valid only if an alternate spool device is defined. If
omitted, NetBase will use the local node.
COPY
If specified, this option causes NetBase to create a local copy of the
spool file in addition to transporting the file to a remote spooler.
Device
If specified, this is the device class or ldev number to which the local
copy is spooled. The default is the device class or ldev number as
referenced by the program.
outpri
If specified, this parameter is the output priority of the spool file copy.
Copies
If specified, this parameter is the number of copies of the spool file
that will be spooled on the local node.
TEMP
This option can be specified only if the COPY option is used. The
TEMP option causes NetBase to purge the local copy if the entire
spool file has been written to the remote spooler successfully.
Example
To redirect all output from ldev 6 and class LP to the page printer on node 2:
D> DEVICE 6=PP,2
E> DEVICE LP=PP,2
To then specify an alternate device if communication to node 2 is unavailable.
D> DEVICE 6=PP,2;ALT=LP,1
This Device is already defined. Replace? (Y/N) Y
To redirect output for WANLP, keeping a local copy with an outpri of 1 until the spool file is
complete.
D> DEVICE WANLP=LP,2;COPY=LP,1;TEMP