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?
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 EXEC PGM=IEBGENER,REGION=0M
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&IDSN,
//SYSUT2 DD DSN=&ODSN,
//SYSIN DD DUMMY
//A EXEC COPY,IDSN=MTPLV01.MAJORDS.ASDFATTB.D5010.G1293V00,
//B EXEC COPY,IDSN=.....,ODSN=.....
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.