IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 350
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: 8793
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: 350
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Inserting records into the empty segm... IMS DB/DC 0
No new posts JCL to extract repeating records DFSORT/ICETOOL 6
No new posts Group selective VB records - Trailer ... DFSORT/ICETOOL 16
This topic is locked: you cannot edit posts or make replies. SORT the records based on the second ... SYNCSORT 1
No new posts to Insert Rows from File1 to File 2 ... DFSORT/ICETOOL 1

Back to Top