z/TPF Program Management - IBM
z/TPF Program Management - IBM
z/TPF Program Management - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Sample code<br />
JCL for sending your output<br />
VRDR<br />
GDS<br />
Tape<br />
The following code samples show how to create the code that is necessary to<br />
complete an offline load from your z/OS system.<br />
The following examples show sample JCL for directing the output of your load.<br />
The following JCL will send your output to VRDR:<br />
//VRDRLD JOB MSGLEVEL=1,CLASS=S,MSGCLASS=S<br />
/*ROUTE PRINT <strong>TPF</strong>VM1()<br />
/*ROUTE PUNCH <strong>TPF</strong>VM1()<br />
//TLDR EXEC PGM=<strong>TPF</strong>LDR,PARM=’TLDR’,REGION=90M<br />
//STEPLIB DD DSN=ACP.LINK.CUR51.BSS,DISP=SHR<br />
//LDROUT DD DSN=&&VRDROUT,SPACE=(TRK,(1600,120)),<br />
// DISP=(NEW,PASS),UNIT=SYSDA<br />
//LDRTEMP DD DSN=&&SYSUT1,SPACE=(CYL,(1600,120)),UNIT=SYSDA<br />
//LDRREPRT DD SYSOUT=A<br />
//SYSUDUMP DD DUMMY<br />
//SYSABEND DD DUMMY<br />
//LDRTRACE DD SYSOUT=A<br />
//LDRLOAD DD *<br />
<br />
/*<br />
//TRANSMIT EXEC PGM=IKJEFT01,<br />
// PARM=’TRANSMIT <strong>TPF</strong>VM1.(uderid) DDNAME(SYSTSIN) NOLOG NONOTIFY SEQ’<br />
//SYSTSIN DD UNIT=SYSDA,<br />
// DSN=&&VRDROUT,DISP=(OLD,DELETE)<br />
//SYSTSPRT DD DUMMY<br />
The following JCL will send your output to GDS:<br />
//GDSLDR JOB MSGLEVEL=1,CLASS=S,MSGCLASS=S<br />
/*ROUTE PRINT <strong>TPF</strong>VM1()<br />
/*ROUTE PUNCH <strong>TPF</strong>VM1()<br />
//GDSLD EXEC PGM=<strong>TPF</strong>LDR,PARM=’TLDR’,REGION=90M<br />
//STEPLIB DD DSN=ACP.LINK.CUR51.BSS,DISP=SHR<br />
//LDROUT DD DSN=,DISP=OLD<br />
//LDRTEMP DD DSN=&&SYSUT1,SPACE=(CYL,(1600,120)),UNIT=SYSDA<br />
//LDRREPRT DD SYSOUT=A<br />
//LDRTRACE DD SYSOUT=A<br />
//LDRLOAD DD *<br />
<br />
The following JCL will send your output to the Virtual Tape Server (VTS):<br />
//LDROUT DD DSN=BOSS.TAPE,UNIT=VTS,DISP=(OLD,KEEP),<br />
// VOL=SER=TV2127,LABEL=(,SL),<br />
// DCB=(BLKSIZE=4095,RECFM=U)<br />
The following JCL will send your output to VTAPE:<br />
//LDROUT DD DSN=DASD.TAPE,UNIT=VTAPE,DISP=(NEW,KEEP),<br />
// VOL=SER=SCRTCH,LABEL=(,SL),<br />
// SPACE=(TRK,(3500,500)),<br />
// DCB=(BLKSIZE=4095,RECFM=U)<br />
© Copyright <strong>IBM</strong> Corp. 2005, 2012 157