NBSpool for MPE Reference Guide
Chapter 3
3-98
SUBMIT Examples
To submit all the
GLREPORT
spool files to the workstation
BIGBLUE
, and to purge the spool files as
they are submitted, enter:
O> SUBMIT GLREPORT TO BIGBLUE;PURGE
To include a file named
ERRORS
containing OS/JCL in front of all spool files that were created
today, and to give them a job name of
BADSTUFF
, enter:
O> SUBMIT ERRORS,=TODAY TO BIGBLUE;J=BADSTUFF
To submit all the
GLREPORT
spool files to the workstation
RMT8
, and to purge the spool files as
they are submitted, enter
O> SUBMIT GLREPORT TO RMT8;JCL=FRONT,BACK;PURGE
Below is an example of the IBM JCL used for submitting spool files to the
HOST
. The IBM JCL will
need to be customized for each installation. A different “front file” can be used for each distribution
list or printer destination on the IBM. The JCL contained in the file
FRONT
will cause the spool
files moved to the IBM remote node
RM08
to print on the
RM155
printer.
//RM08JOB JOB
/*JOBPARM LINECT=60
/*ROUTE PRINT RM08
/*OUTPUT DIST DEST=RM155
//STEP1 EXEC PGM=NBSPIBM
//STEPLIB DD DSN=RM00.LIBRARY,DISP=SHR
//PRINT DD SYSOUT=(A,,DIST),DCB=(RECFM=FBA,LRECL=133,BLKSIZE=133)
//CARD DD *
This JCL file is then used when submitting/transferring the MPE spool files to the IBM Host. The
JCL contained in a file
BACK
:
/*
//