bOn Mon, Apr 30, 2018 at 12:41 PM, Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Mon, 30 Apr 2018 12:15:26 -0500, Steve Horein <steve.hor...@gmail.com>
> wrote:
>
> >In the DEFINE ALIAS doc here (for reference):
> >https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.idai200/da6i2100.htm
> >and here (for detail):
> >https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.idai200/da6i2102.htm
> >:
> >
> >"If the entryname in the RELATE parameter is non-VSAM, choose an
> aliasname in
> >the NAME parameter. This is done to ensure the multilevel alias facility
> >selects the catalog that has the entryname."
> >
> "multilevel alias"?  Does this mean I should be able to define an alias of
> an alias?
> I thought I had tried that and, alas, it failed.
>

​In the SYSCAT parameter of the LOADnn member of IPLPARM, there is a number
which can be from 1 to 4. This is the _maximum_ number of nodes in a DSN
which are used to find out which catalog the DSN resides in. Suppose, for
example, you have this number as being four (the maximum). Given a
DSN=ONE.TWO.THREE.FOUR.FIVE . Catalog management will first look for an
alias, in the master, with the name ONE.TWO.THREE.FOUR. If one exists, that
catalog is used for the lookup. So the same for aliases of ONE.TWO.THREE,
then ONE.TWO, and finally ONE. Use the catalog pointed to by the first of
those that you find. Otherwise use the master.


https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae200/stpldx.htm
​


​So, suppose you look up A.B.C and find only alias A (not multilevel)
pointing to CATALOG.A . You now find that A.B.C is an ALIAS for B.B.C.
Catalog management looks for this name _ONLY_ in CATALOG.A even if the
standard catalog search order from master catalog says that B is an alias
to CATALOG.B.



>
> >To me, that last sentence indicates the aliasname is required to be in the
> >same catalog as the entry name.
> >I had to read it a couple of times to get the gist of it.
> >
> This is so obscure a pitfall that IDCAMS ought to issue a message when the
> guideline is violated.
>
> And the suggestion is useless.  Forcing B's alias into A's catalog simply
> causes
> JCL //NAME DD DSN=B.WHAT.EVER to fail sooner.
>
> -- gil
>
>

-- 
We all have skeletons in our closet.
Mine are so old, they have osteoporosis.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to