Sample JCL for transferring data from Tape to Tape using CA XCOM for z/OS.

Document ID : KB000009453
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

When you do a Tape-to-Tape Transfer parameter TAPE=YES is required and UNIT and LUNIT must be set to valid unit names for tapes at your site.

Instructions:

Here is sample JCL for a tape to tape transfer:

//<your jobcard>
//* //STEP01 EXEC PGM=XCOMJOB, // PARM=('TYPE=SCHEDULE') //* //STEPLIB DD DSN=XCOM.R11.CAILIB,DISP=SHR * LOADLIB // DD DISP=SHR,DSN=CEE.SCEERUN * IBM/C RUNTIME //SYSPRINT DD SYSOUT=* * TCP/IP MSGS //SYSIN01 DD * TYPE=SEND IPNAME=XCOMAPPL TAPE=YES LUNIT=TAPE UNIT=TAPE DEN=4 LVOL=854122 VOLCT=1 VOLSQ=1 UNITCT=1 LLABEL=(1,SL) LABEL=(1,SL) FILETYPE=FILE FILEOPT=CREATE LFILE='SYS1.ENDEVOR.PROD1.UNLOAD.U060809' FILE='SYS3.ENDEVOR.PROD1.UNLOAD.U060809' EXPDT=09165 LUSER=xxxxxx *
//