Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Deletion of JCL datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
maggiebms

New User


Joined: 23 May 2005
Posts: 16

PostPosted: Tue Feb 03, 2009 10:34 am    Post subject: Deletion of JCL datasets
Reply with quote

Hi All,

Can you please let me know the way to delete all datasets starting with same qualifier using JCL?

For Eg : To delete all datasets starting with XXXX.TEST.* (* - can be anything)


Regards,
Maggie J
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Tue Feb 03, 2009 11:25 am    Post subject:
Reply with quote

IDCAMS DELETE
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Feb 03, 2009 11:43 am    Post subject:
Reply with quote

Hi,

Yes, use IDCAMS to delete specially for it comes handy in casr of migrated datasets rather than anything else that causes a recall.

When IDCAMS deletes the catalog entry and sees that the dataset is migrated, it further signals to HSM to delete the MCDS D record which removes the entry from HSM.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Feb 03, 2009 11:45 am    Post subject:
Reply with quote

Hello again,

Though tapes would behave differently..and if you want to know more search for delete migrated and author Expat.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts BDW in VB datasets harisukumaran JCL & VSAM 5 Sat May 28, 2016 9:46 am
No new posts How to sync memebers in some datasets... Lord.of.Wind Compuware & Other Tools 2 Thu Apr 21, 2016 12:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us