I think You can build a utility to create a job that delete files,.with cobol,. Utility examine jcl syntaxis. On control-m exist a utility to delete.files.
toggle quoted message
Show quoted text
Hi group members. I learned something new today: where I used to delete datasets (needed to be allocated later in the job) using IEFBR14 or IDCAMS, there is a program called EQQDELDS (part of TWS if I'm not mistaken) that can look at DD statements in following job steps and delete every dataset which already is catalogued, but will be allocated again with disp(new,delete) or disp(new,catlg).
?
Is there a program with equivalent functionality in TK5? Outside of TK5? Or is somebody willing to look into that so I can upgrade some of my JCL and be quicker with new JCL? A quick web search turned up nothing.
?
Please let me know.
?
best regards,
?
René Jansen.