IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Deletion of JCL datasets


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 792
Location: Chennai, India

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

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

Superior Member


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

PostPosted: Tue Feb 03, 2009 11:43 am
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

Superior Member


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

PostPosted: Tue Feb 03, 2009 11:45 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
No new posts define 1 DCB parms for multiple outpu... JCL & VSAM 9
No new posts FTP datasets to server CLIST & REXX 13
Search our Forums:

Back to Top