Page 1 of 1

Delete datasets based on reffered date.

PostPosted: Wed Aug 11, 2010 8:09 pm
by XY09
Hi All,

I have a DSN qualifiers like XY09.PROD.** on a perticular volume seriel no "XX0B01" and Keep on storing datasets onto the volume since 2010-05-01 to till date. Now i want to delete the datasets which was reffered on or before 2010-06-15. i have a way to do it by using TSO commands. Now more interested to do it in batch JCL. Please help me on this.

XY09.

Re: Delete datasets based on reffered date.

PostPosted: Wed Aug 11, 2010 11:54 pm
by dick scherrer
Hello,

Run the tso commands n a batch job (i.e. jcl). . .

Search the forum for IKJEFT01 (which is tso batch).