NBSpool for MPE Reference Guide
NBSpool Input Commands
4-5
COPY
The COPY command moves an exact copy of a waiting or scheduled job to a remote computer
without purging the original jobs. If wild cards are specified, all jobs meeting the specified criteria
will be copied to the remote computer. The original copies will not be modified unless the optional
NEWPRI parameter is specified to alter the INPRIs of the original jobs upon successful completion of
the copy.
The correct passwords are inserted in the
:JOB command on the remote computer. If a job streams
another job, imbedded
:JOB commands will not be modified to include any appropriate passwords.
Note. This command requires
SM capability on the REMOTE session to insert passwords
automatically on the remote computer. The local user does not require
SM capability.
By default, scheduling information will be preserved across systems. To create the job remotely
without any scheduling values, use the
NOSCHED parameter. The DEV, COPIES and OUTPRI
parameters only affect the $STDLIST of the remote job. If a DEV is not specified, the default device
for
$STDLISTs on the remote computer will be used.
If NBSpool is running in a NetBase environment, a remote session to the node receiving the spool
file is not required since NetBase automatically handles the transfer. The node name or node
number used in the command should be consistent with the node names or numbers used in the
NetBase configuration.
If NetBase is not installed, the RPM service of
NS will be used to create the NBSPOOLT process on
the remote computer. A
DSLINE command is required to specify the destination node. Programmatic
logons are supported if the
LOGON= parameter is specified in the DSLINE command and a remote
session does not exist in the environment.
On some slow network links, it is possible that a
COPY command will continually encounter errors.
These errors can be reduced by adjusting the size of the spool file transfer packets. By setting the
JCW
SPOOLPACKET to
1024
or any multiple of
1024
up to
8192
, these errors can be eliminated. Set
this JCW before entering NBSpool.
This command may be stopped at any time by pressing
Ctrl+y
. If a copy is in process, the unfinished
remote job will be purged.