View previous topic :: View next topic
|
Author |
Message |
wcorsar
New User
Joined: 15 Jul 2006 Posts: 6 Location: Florida
|
|
|
|
I'm trying to see if there is a way to use and 'alias' for a KSDS file. I have a very large file that I need to have various people access from different areas. Rather then making copies, I was hoping to allow all to access the same file but with a different high-level qualified.
I looked into the PATH option as it says you can specify either the AIX or the cluster. Though when I try it on the cluster, I get an invalid related object error. I don't know if I'd have to build a separate AIX for each? Or just 1 and multiple PATH's? The key position should stay the same so an AIX seems redundant.
If anyone has any ideas on how to accomplish this, I'd really appreciate it. |
|
Back to top |
|
|
wcorsar
New User
Joined: 15 Jul 2006 Posts: 6 Location: Florida
|
|
|
|
I think I found out my problem. It may have to do with some RACF restrictions and high-level qualifiers here at my installation. I tried the PATH to a CLUSTER again with the same HLQ and it worked so there's something in the names I was using. I look into it some more.
Thanks anyway folks! If you have other suggestions, Iamb happy to hear them. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I suspect i'm confused, but how will multiple "names" help with the problem of too many concurrent users? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
How are people getting to the file? Batch programs? CICS?
What do you call "very large"?
How many people need simultaneous access? Are these people doing reads only or are there multiple people doing reads and writes at the same time?
What is the update pattern for the file? And how often is it reorganized? |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
I think you can have an alias, without an AIX, similar to NONVSAM aliases. I think the alias name would have to be in the same usercatalog as the base cluster though.
DEF ALIAS(NAME(alias.name) REL(cluster.name)
While accessing the cluster from either the base cluster name or alias I think it would be ENQ'd on the base cluster name so not sure if it would be any use for multi-access. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What are the values specified for SHR
Are we talking CICS & batch simultaneous.
Any information would be greatly appreciated. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Define ALIAS is for NONVSAM or USER CATALOG objects, so
RELATE(entryname) is the name of the entry (the user catalog entryname or the non-VSAM data set name) for which the alias is defined.
Its all in the manuals, so why ask this question? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Its all in the manuals, so why ask this question? |
because the only people who read the manuals are the ones who answer questions.
but, on the other side, if the questioners of this board read the manuals,
we would go from 20-30 questions a day
to 4-5 questions a month. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Sure Dick,
so we have to be thankfull i guess. |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
It's not ALIAS its the PATH option:
e.g.
DEFINE PATH -
(NAME(A..DSNAME.PATH1) -
PATHENTRY(A.DSNAME.BASE.CLUSTER))
which means you can access the base through the path, no AIX required. |
|
Back to top |
|
|
|