NetBase for MPE Reference Guide
NetBase Spooling
7-9
Let us further assume that the local systems EENEY, MENEY or MINEY do not have any printers. In
this case, we will need an NBSpool background job to move any $STDLISTs created on the systems
to MOE. Also, we need the NBSpool background job to pick up any spool files which were created
locally while the network was down, and move them to MOE where they can print. (NBSpool is a
spooling utility provided with NetBase spooling that allows you to manipulate spool files
interactively or in a background job.) The following is an example of a background job that will
complete the remote spooling implementation we have designed.
!JOB BACKGRND,MGR.NETBASE
!COMMENT
!COMMENT THIS JOB MOVES FILES TO THE LASERJET ON MOE
!COMMENT
!RUN NBSPOOL.PUB.NETBASE
XEQ; WAIT=60
ERROR IGNORE
MOVE DEV=LJ, TO MOE
END
EXIT
!EOJ
This background job checks every 60 seconds for spool files which were destined for MOE (by being
created for the LJ device class) or are $STDLISTs that were created locally. The background job
moves any such spool files that it finds to MOE. If the network is down when the background job
tries the move, it will try again a minute later. For more information on NBSpool background jobs,
please see the NBSpool Reference Manual.