View previous topic :: View next topic
|
Author |
Message |
tigerwing
New User
Joined: 12 Feb 2008 Posts: 8 Location: Southfield, MI
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
tigerwing
New User
Joined: 12 Feb 2008 Posts: 8 Location: Southfield, MI
|
|
|
|
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
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 |
|
|
|