I need to delete many files each time I run a particular job.
What I have tried and will like to do is to create a file which contains names of the files that I want to delete.
For example, the input file will look like the following:
I tried the following JCL which ran fine but did not delete the datasets I am interested in:
//UTL1000U EXEC PGM=IEFBR14
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=GO1.OGADM31.ATEMPFIL,DISP=SHR
//SYSIN DD DUMMY
Can anyone suggest a way to accomplish what I need to get done?
I will greatly appreciate any help that I can get.