Previous Topic: Example:Next Topic: Control Statement Specification


Job Control Statements

//stepname EXEC PGM=TMSPULL,
//             PARM='parm'
//STEPLIB  DD  DSN=CAI.CTAPLINK,DISP=SHR
//TMSRPT   DD  SYSOUT=A
//TMSPULL  DD  SYSOUT=A
//TMSETUP  DD  SYSOUT=A
//SYSLIB   DD  DSN=pull.list.pds,DISP=SHR
//SYSUT1   DD  UNIT=SYSDA,
//             SPACE=(TRK,(20,10))
//SYSOUT   DD  SYSOUT=A
//SYSPRINT DD  SYSOUT=A
//SORTLIB  DD  DSN=SYS1.SORTLIB,DISP=SHR
//SORTWK01 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SORTWK02 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SORTWK03 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SORTWK04 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SORTWK05 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SORTWK06 DD  UNIT=SYSDA,SPACE=(CYL,(10,5),,CONTIG)
//SYSIN    DD  *
(control statements here)
/*

Parameter Definitions

Using the parameter information specified in the JCL, TMSPULL determines from the system catalog or the TMC which tape volumes to pull. Only one parameter may be specified.

OSCATLG

Search only the system catalog for data set volumes.

TMCATLG

Search only the TMC for data set volumes.

OTCATLG

Search both the TMC and system catalog for data set volumes. If both catalogs are specified, the system catalog is checked first. The TMC is then checked for any data sets not located on the system catalog.

JCL Considerations

SYSLIB DD

The SYSLIB PDS is for TMSPULL and should contain only TMSPULL job and shift information. Do not specify a PDS member name. The entire data set must be read by TMSPULL.