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

Senior Member


Joined: 15 Aug 2015
Posts: 1231
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: 8797
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

Senior Member


Joined: 15 Aug 2015
Posts: 1231
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top