Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 445
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: 445
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us