I tested with unexpected results.
1. Create a PO data set with name 'SYS1.FOOBAR' using 3.2
2. def alias (name(MY.FOO.BAR) rel('sys1.foobar'))
3. Pull up a 3.4 list under my userid
4. 'I' on the line with TSOSKIP.MY.FOO.BAR
5. It shows me 'SYS1.FOOBAR' attributes as created
6. But TSO LISTD command on the same line fails:
IKJ58503I DATA SET 'TSOSKIP.MY.FOO.BAR' NOT IN CATALOG
7. Attempt to allocate the data set with TSO command fails the same way
8. listc ent(/) shows that the data alias went into the master catalog instead
of the expected user catalog:
ALIAS --------- TSOSKIP.MY.FOO.BAR
IN-CAT --- MVS.ICF.MASTER
9. Attempt to force alias into my user catalog fails:
IDC3022I INVALID RELATED OBJECT+
IDC3009I ** VSAM CATALOG RETURN CODE IS 80 - REASON CODE IS IGG0CLER-4
10. Some exercise left to the reader ;-)
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
[email protected]
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Paul Gilmartin
Sent: Monday, August 29, 2016 3:55 PM
To: [email protected]
Subject: (External):Re: Elementary dataset alias question
On Mon, 29 Aug 2016 15:34:59 -0700, Charles Mills wrote:
>
>Is it possible to create a catalog entry such that JOEBLOW.MY.FOO.BAR
>is an alias for SYS1.FOOBAR and batch DD references to
>JOEBLOW.MY.FOO.BAR will actually allocate SYS1.FOOBAR?
>
No. Well, only if JOEBLOW and SYS1 identify the same user catalog, which is
vanishingly unlikely. Catalog always searches for the RELATED DSN in the same
catalog in which it found the alias. Well, unless you tell it which user cat
to look in, which largely negates my purpose, and probably yours, for wanting
an ALIAS
I have whined bitterly about this in these pages. It seems to me that once
catalog has found the ALIAS which identifies the RELATED it should begin the
search anew to find the RELATED.
People who claim to know more about this than I say that if that were done you
wouldn't be able to IPL, or spacetime would collapse into a black hole, or
something. I firmly believe that's only because it's done wrong.
BTW, why is an alias for a non-VSAM data set called ALIAS but an alias for a
VSAM data set is called PATH? It seems to me they should be interchangable.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN