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

DFSMShsm Dataset Recovery with B and C records


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 395
Location: Bamberg, Germany

PostPosted: Sat Oct 05, 2019 10:01 pm
Reply with quote

Hello *,

as there are good samples of a recovery for ML1 and ML2 datasets when the running DFHSM CDS don't have the information any longer, means we have to use the backup CDS here - it raises the question what is needed when there are only backup records (basically B/C) left to go on? What fields are really needed to make a successful restore besides restoring the complete records of both.
If we are talking of GDS we only have one B and only one C record. Anything else makes things more complicated.
So let's see if anyone knows for the easy way.

Thanks for any suggestions or help.

Cheers,
Jörg
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8794
Location: Welsh Wales

PostPosted: Tue Nov 12, 2019 2:59 pm
Reply with quote

A lot will also depend on your TMS (if installed) and VTS settings (if installed) for ML2 resident datasets.

Example from when I was working in Munich - I managed to restore the CDS back to a new name, and completely set up a new version of HSM on the test system using the restored CDS. The ML2 tapes had expired and were immediately scratched from the VTS catalog but were retained for 3 days on the TMS.

So basically another thing to look out for would be that the VTS cannot immediately set to scratch any tapes released. The VTS and TMS need to be kept in sync.

So just sharing a possible downer.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 395
Location: Bamberg, Germany

PostPosted: Tue Nov 12, 2019 4:33 pm
Reply with quote

Thanks for your feedback, very welcome. A thing of course is to have the tapes still available. Basically that is given as much of the data do not expire at the same time (means backup tapes are still valid) and then there is a period in IBMs VTL that says do not overwrite data unless you have to. So chances are high that one can recover with an older set of the CDS restored from CDSVERSIONBACKUP.
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 Printing a dataset in DUMP format wit... ABENDS & Debugging 2
No new posts Selecting multiple constant records DB2 3
This topic is locked: you cannot edit posts or make replies. Writng matched records into output fi... DFSORT/ICETOOL 11
No new posts Merging more than two records DFSORT/ICETOOL 15
No new posts Matching and non matching records usi... DFSORT/ICETOOL 11
Search our Forums:

Back to Top