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

Recreating VSAM cluster catalog info for IMBED/REPLICATE


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Thu May 27, 2021 8:48 pm
Reply with quote

Any ideas how to find where IMBED and REPLICATE are stored in the catalog entry for a VSAM cluster?
We have a need to reproduce such clusters for testing out some platform conversion processes, but you cannot nowadays specify IMBED or REPLICATE (well, you can, but they get ignored! Even on EXPORT/IMPORT or DFDSS DUMP/RESTORE.)

My idea is to identify the bit settings where the catalog thinks these properties exist, and then somehow zap them to foolw the system.

Can this be achieved?
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


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

PostPosted: Thu May 27, 2021 10:44 pm
Reply with quote

You can use for ex. IBM's supplied FINDIMBD Tool to identify existing REPLICATE, IMBED, KEYRANGE clusters and Migrate/Recall them. If you make a dump of of Catalog Cells before and after, you may be able to identify the Offsets where the information is stored.

However I do not recommend zapping the Catalog.
Back to top
View user's profile Send private message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Sat May 29, 2021 2:49 am
Reply with quote

Joerg,
Many thanks for taking the time but this useful utility only finds existing ones and upgrades them?
Our trouble is that the systems have moved on and we simply don't have any VSAM clusters with those attributes to work on any more?!

The problem comes with recreating such clusters so we can test our migration's recognition of them! :-)
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Sat May 29, 2021 3:49 pm
Reply with quote

Just zapping those bit, assuming that there are some, would most likely render the cluster unusable. Remember that the physical index structure for IMBED and REPLICATE are totally different from a 'normal' cluster.
Back to top
View user's profile Send private message
Alan Playford

New User


Joined: 22 Aug 2012
Posts: 48
Location: UK

PostPosted: Sat May 29, 2021 4:13 pm
Reply with quote

A fair point, well made, Willy!
I had forgotten that, not having used such clusters for a decade.

Using EXPORT/IMPORT or DFDSS DUMP/RESTORE can remove the attributes but make the cluster unusable anyway, according to the manual?
A colleague reported that they had done this and it was readable, but I doubt that it was actually usable?

Looks like we'll have to do the actual testing on our Customer's site instead, as I can see no way for us to get one of these clusters on our system otherwise?
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Sun May 30, 2021 11:20 pm
Reply with quote

I agree that to will be best to do where you can actually test it. Perhaps offer a slight discount :-)
But if you only want to detect those options, what's wrong with IDCAMS LISTCAT?
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


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

PostPosted: Mon May 31, 2021 7:21 pm
Reply with quote

Willy Jensen wrote:

But if you only want to detect those options, what's wrong with IDCAMS LISTCAT?
It takes additional steps to process the output, while the latest FINDIMBD I know of uses the Catalog Search Interface.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts VSAM LISTCAT INFORMATION JCL & VSAM 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top