Delete datasets based on reffered date.

Ask about System customization & performance, Workload management, I/O device configuration etc.

Delete datasets based on reffered date.

Postby XY09 » Wed Aug 11, 2010 8:09 pm

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.

Posts: 25
Joined: Mon Apr 26, 2010 9:19 am
Has thanked: 0 time
Been thanked: 0 time

Re: Delete datasets based on reffered date.

Postby dick scherrer » Wed Aug 11, 2010 11:54 pm


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

Search the forum for IKJEFT01 (which is tso batch).
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Return to System programming


  • Related topics
    Last post