View previous topic :: View next topic
|
Author |
Message |
maggiebms
New User
Joined: 23 May 2005 Posts: 16
|
|
|
|
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 |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
IDCAMS DELETE |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hello again,
Though tapes would behave differently..and if you want to know more search for delete migrated and author Expat. |
|
Back to top |
|
|
|