View previous topic :: View next topic
|
Author |
Message |
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
I want to define a KSDS that will be shared between two or more LPARs, provided that it resides in shared DASD, of course. I am currently using SHR(3 3). Is this possible if the two systems do not share catalogs? I cannot see any way to define it on the second system using IDCAMS.
I have done a search and I did not notice anything that addresses this issue but I might have missed something.
TIA |
|
Back to top |
|
|
sureshpathi10
Active User
Joined: 03 May 2010 Posts: 158 Location: Kuala Lumpur
|
|
|
|
Hi,
I'm guessing that, you want to create a KSDS that can be accessible in multiple LPARs.
Here are my thoughts:
When you DEFINE a KSDS it will be cataloged in that LPAR. Only the VOLUME is shared across the systems not the catalogs. So, You need to catalog the same KSDS file in the second LPAR by specifying the VOL Serial.
Note: I've faced this problem with the normal PDS and fixed like above mentioned. I'm not sure how this will work with VSAM. |
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Suresh -
I have tried to do that DEFINE with the VOL parameter but IDCAMS complains that there are no space specifications. I know that I can do it with a non-VSAM. It looks like a shared catalog is the only way of getting access.
Thanks. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Enrico -
Interesting document. I think that I will just use a shared user catalog. It seems like the simplest solution.
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
do You have already a plan to provide INTEGRITY |
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Yes - cross system ENQs |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Grant,
Have you researched the MVS Coupling Facility and MVS Logger? |
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Personally, no but I believe that one of my co-workers is conversant in these items. I will check them out myself.
Thanks for the suggestion. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Peter -
Interesting reading. Thanks
- Grant |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 590 Location: London
|
|
|
|
This is a messy and ill advised route to go down, trust me. If it can't be in a proper shared catalog then don't do it, unless perhaps it is a completely static unchanging file.
For one, the catalog stat's are always going to be wrong once any updates are done because the 'other side' wouldn't be aware of it. So any process opening the file is going to be invoking implicit verifies every time I suspect which could be a large overhead. Not sure if the Catalog Address Space (CAS) is going to be too happy either. Also may require special treatment in GRS.
You can try doing a DEFINE with the VOLUMES and RECATALOG parameters, but not sure it will work. It uses the VVDS information to build the catalog information and it knows what catalog the file was originally defined to as that's stored in the VVR record. You may have to define a usercatalog on the 'other' system with the same name to do the RECATALOG, but that may not be feasible if the ALIAS points somewhere else. |
|
Back to top |
|
|
Grant Goodale
New User
Joined: 13 Nov 2010 Posts: 67 Location: Brampton, Ontario, Canada
|
|
|
|
Pete -
I have opted to go the shared catalog route. Anything else looks like a horror story. |
|
Back to top |
|
|
|