NBSpool for MPE Reference Guide

NBSpool Input Commands
4-19
The
MOVE command is often used in background jobs to continually move jobs from one computer
to another. If a line or computer goes down, it is often preferable to have NBSpool keep trying to
connect until the remote computer comes back up.
To move all jobs with a priority of
2
to
6
to the remote computer VGER every
60
seconds:
:JOB MOVEJOBS,OPERATOR.SYS
:
:DSLINE VGER;LOGON=SPXFER,OPERATOR/SECRET.SYS
:
:RUN NBSPOOL.PUB.NETBASE
INPUT
ERROR IGNORE
XEQ;WAIT=60
MOVE %2-6 TO *VGER
END
EXIT
:EOJ
Note. The
NEWPRI= prevents the same spool files from being copied every time the
command executes, since the copied spool files will be raised above the subset
selection criteria.
The DSLINE command with the LOGON= will cause NBSpool to automatically log on to the remote
machine with a “programmatic” logon. If the remote computer
VGER goes down, NBSpool will log
on again without any operator intervention.