Lizette, The LISTCAT shows that both the values are pointing to the same usercatalog.
On Wed, Aug 21, 2013 at 7:47 PM, Lizette Koehler <[email protected]>wrote: > Note in the definition of the DEF ALIAS .... RELATE(....) it states: The > resolved value for entryname must be a catalog entry that is located in the > same catalog that contains the value for aliasname. > > So you need to ensure the RELATE entryname is in the same catalog as the > main entry name. > > So if your entryname is BOB.MY.FILE that is in ucat MYUCAT1 then when you > do the > > DEF TED.MY.FILE ALIAS RELATE(BOB.MY.FILE) then both BOB hlq and TED hlq > must be in MYUCAT1 > > I may have that backwards, but it is close. Bottom line, the example IBM > has in the book for doing this is very bad. I will be opening a request for > updating that to a more reasonable example. Second, from the document it > appears that the HLQs should be in the same UCAT. At least that is my > understanding from reading the IBM doc (which is very nebulous at best). > And I do not believe that you are required to use the CAT parameter in the > DEF ... ALIAS RELATE(....) function > > > > Lizette > > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of mf db > Sent: Wednesday, August 21, 2013 3:44 AM > To: [email protected] > Subject: Deleting Alias > > Hello, > > I was able to delete a alias from a usercatalog with a below parms : > > DEL ENTRYNAME ALIAS CAT(USERCAT) > > Defining alias to a Non Vsam : > DEF ALIAS (NAME(XX.XXXX.XXXX)- > RELATE('XXXXX.YYYY.ZZZ.LLLL')) > > But when I tried checking the alias with ISPF 3.4 option I couldn't see the > entry being visible. > > When I do listcat against the dataset XXXX.YYYY.ZZZ.LLLL but I could see > the > alias relation for XXX.XXXX.XXXX. Not sure why the alias entry is not > visible. > > I tried even deleting and defining back but no luck. I do get a message as > duplicate dataset name when I try defining it again. > > IDC3013I DUPLICATE DATA SET NAME > > Z/OS : 1.13 > > Could some please shed some light on the above. > > /Peter > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
