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

Remove Deleted MIGRAT2 Tapes from HSM & Catalogue


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu May 10, 2007 7:55 pm
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: 691
Location: Earth

PostPosted: Thu May 10, 2007 7:59 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu May 10, 2007 8:07 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Remove leading zeroes SYNCSORT 4
No new posts How to remove block of duplicates DFSORT/ICETOOL 8
No new posts To Remove spaces (which is in hex for... JCL & VSAM 10
No new posts How to remove spaces in between. SYNCSORT 12
Search our Forums:

Back to Top