I need to create a JCL which can be used as a back-up taking Job. Basically it should copy an input file to an output file. I have created a job like this:
Code: Select all
//STEP01 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DSN=input file 1
.
.
//IN5 DD DSN=input file 5
.
.
//IN10 DD DSN=input file 10
//*Output files
//OUT1 DD DSN=output file 1
.
.
//OUT5 DD DSN=output file 5
.
.
//OUT10 DD DSN=output file 10
//*
//TOOLIN DD *
COPY FROM(IN1) TO(OUT1)
COPY FROM(IN1) TO(OUT1)
.
.
COPY FROM(IN5) TO(OUT5)
.
.
COPY FROM(IN10) TO(OUT10)
/*