Delete datasets based on reffered date.

Ask about System customization & performance, Workload management, I/O device configuration etc.
XY09
Posts: 25
Joined: Mon Apr 26, 2010 9:19 am
Skillset: Cobol,Jcl,Db2,Vsam, CICS and IMS DB.
Referer: By google

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.

XY09.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Delete datasets based on reffered date.

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

Hello,

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

Search the forum for IKJEFT01 (which is tso batch).
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post