skankatala wrote:I have PS file containing list of disk datasets. I need to copy the list of JCLs on to tape.
Now, I am doing this manually...
How to automate this process?
Thank you....
ADRDSSU is great if you want to copy all datasets to a single backup tape, maybe another solution is to create a simple inline proc using IEBGENER , IDCAMS or whatever utility suites you best.
I have used inline procs to copy PDS's using IEBCOPY and copy sequential files using IEBGENER, here's a sample
//COPY PROC
//COPY EXEC PGM=IEBGENER,REGION=0M
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&IDSN,
// DISP=SHR
//SYSUT2 DD DSN=&ODSN,
// DISP=SHR
//SYSIN DD DUMMY
// PEND
//A EXEC COPY,IDSN=MTPLV01.MAJORDS.ASDFATTB.D5010.G1293V00,
// ODSN=MTPLVTD.MAJORDS.ASDFATTB.D5010.G1293V00
//B EXEC COPY,IDSN=.....,ODSN=.....
etc
SYSUT2 will need to be modified, DISP, UNIT,.....etc according to your site standards.
just repeat the EXEC COPY proc statement for how many datasets you need to copy or backup.