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
 

 

Remove Deleted MIGRAT2 Tapes from HSM & Catalogue

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

New User


Joined: 27 Apr 2006
Posts: 23

PostPosted: Thu May 10, 2007 7:46 pm    Post subject: Remove Deleted MIGRAT2 Tapes from HSM & Catalogue
Reply with quote

Our files are HSM managed. A couple of weeks ago through a miscommunication 3000 3490 tapes were destroyed. Luckily it wasn't in out production environment but we lost valid data.

There's nothing we can do about that now but we have a ton of datasets in MIGRAT2 status that are on these tapes that are no longer available. Is there an easy way to remove these datasets from our catalogue and HSM ?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 10, 2007 7:55 pm    Post subject:
Reply with quote

Have you looked at the DELVOL option
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu May 10, 2007 7:59 pm    Post subject:
Reply with quote

I remembered this topic discussed previously. I searched and found that this was posted by you a few days back. Did you lose the track of your post..? see the link
http://www.ibmmainframes.com/viewtopic.php?t=19934
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 10, 2007 8:07 pm    Post subject:
Reply with quote

Yeah, it rang a bell with me too, and I was just about to post the link to the original thread when I noticed I was too late.

If DELVOL PURGE doesn't work with the catalog, although I vaguely remember that it does - it's about 8 years since I last "lost" an ML2 tape, you could do a list of the datasets on the tape, and easily edit that list into HDELETE commands.

Might be an idea to do the list first before the DELVOL PURGE - just in case you do need to issue a couple of DELETE NOSCR commands icon_eek.gif
Back to top
View user's profile Send private message
T.O.

New User


Joined: 27 Apr 2006
Posts: 23

PostPosted: Sat May 12, 2007 12:42 am    Post subject:
Reply with quote

agkshirsagar wrote:
I remembered this topic discussed previously. I searched and found that this was posted by you a few days back. Did you lose the track of your post..? see the link
http://www.ibmmainframes.com/viewtopic.php?t=19934


Oops. Yeah I lost track, sorry about that.
Back to top
View user's profile Send private message
T.O.

New User


Joined: 27 Apr 2006
Posts: 23

PostPosted: Sat May 12, 2007 12:54 am    Post subject:
Reply with quote

expat wrote:
Yeah, it rang a bell with me too, and I was just about to post the link to the original thread when I noticed I was too late.

If DELVOL PURGE doesn't work with the catalog, although I vaguely remember that it does - it's about 8 years since I last "lost" an ML2 tape, you could do a list of the datasets on the tape, and easily edit that list into HDELETE commands.

Might be an idea to do the list first before the DELVOL PURGE - just in case you do need to issue a couple of DELETE NOSCR commands icon_eek.gif


OK, I did the delete purge but it comes back with

ARC0260I MIGRATION VOLUME D00012 ENTRY NOT DELETED - VALID DATA MAY EXIST ON VOLUME
Back to top
View user's profile Send private message
T.O.

New User


Joined: 27 Apr 2006
Posts: 23

PostPosted: Mon May 14, 2007 11:30 pm    Post subject: Re: Remove Deleted MIGRAT2 Tapes from HSM & Catalogue
Reply with quote

OK, I got it figured out. I did an hsend of 700 volumes to one dataset with all the datasets in MIGRAT2 status. Came out to be about 15000. Then I massaged that dataset with the hdelete command and used it as a sysin in a batch job. Then I took all the volumes and issued delvol purge in batch and was able to remove everything.

Thanks for the help guys !!!
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 How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts Remove Special Characters from Mainfr... Rodger Zhang All Other Mainframe Topics 6 Wed Jul 06, 2016 1:12 am


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