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
 

 

Recover dataset that has expired and backup deleted from HSM

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

New User


Joined: 12 Feb 2008
Posts: 8
Location: Southfield, MI

PostPosted: Tue May 08, 2012 1:40 am    Post subject: Recover dataset that has expired and backup deleted from HSM
Reply with quote

I have a problem that I am hoping someone can help me with. I need to restore a VSAM dataset from HSM backup that has been deleted. Unfortunately, the last backup version has also been deleted from the BCDS, so I can't do a RECOVER like I normally do.

I was able to find out the volser that the backup was on, it was in SCRATCH status in CA-1, but not over written as of yet. I changed the expiration date in the TMC and ran a CTSSYNC so it will not be written over for awhile. So the data on the tape is still valid.

Does anyone know how I can get the flag turned back on in the CDS for this tape so I can recover this dataset? I'm thinking that a FIXCDS command may do it, but I'm not sure which one(s) I need to use.

This is a very important dataset that I need to recover and there is no way I can recreate it.

If anyone has any suggestions, I will appreciate it.

Dave
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: Wed May 09, 2012 11:31 am    Post subject:
Reply with quote

Only time I've done that was to drop HSM, restore the CDS to a level where the backup was valid, HSM up in emergency mode, restored the dataset, drop HSM, resore the CDS to current, restart HSM
Back to top
View user's profile Send private message
tigerwing

New User


Joined: 12 Feb 2008
Posts: 8
Location: Southfield, MI

PostPosted: Wed May 09, 2012 7:41 pm    Post subject:
Reply with quote

Thanks for the info. Will have to see if I can restore the CDS back far enough. Also will have to see how bad management needs this dataset.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Wed May 09, 2012 8:31 pm    Post subject:
Reply with quote

If it was ever migrated and the MCDS record still exists, and the migration tape not recycled you can sometimes do this to re-recall the migrated version:

HSEND FIXCDS D 'file.name' ASSIGNEDBIT(ON)
DEF NVSAM(NAME('file.name') -
VOL(MIGRAT) DEVT(3490))
HSEND RECALL 'file.name'

Depends on your SETSYS MIGRATIONCLEANUPDAYS setting in DFHSM parmlib whether the MCDS records has been deleted or not.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu May 10, 2012 3:57 pm    Post subject:
Reply with quote

If it was ever migrated and the MCDS record still exists, and the migration tape not recycled you can sometimes do this to re-recall the migrated version:

HSEND FIXCDS D 'file.name' ASSIGNEDBIT(ON)
DEF NVSAM(NAME('file.name') -
VOL(MIGRAT) DEVT(3490))
HSEND RECALL 'file.name'

Depends on your SETSYS MIGRATIONCLEANUPDAYS setting in DFHSM parmlib whether the MCDS records has been deleted or not.
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 4 Wed Jan 11, 2017 6:18 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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