Re: Problem defining alias
On Mon, 12 Mar 2018 07:55:10 -0500, Tom Marchant wrote: > >For an ordinary data set alias, the alias must be defined in the same catalog >as the related data set, and the alias must be found using the normal catalog >search. For an alias using SYMBOLICRELATE, this restriction is changed. Once >the alias is found by normal catalog search, the catalog search is is redriven >from the master catalog. > Always, or only (perhaps for performance/compatibility) only if it first fails searching the catalog containing the alias? Alas, you can't use SYMBOLICRELATE unless you have an actual substitutable symbol in the ALIAS name. Another stupid restriction. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
On Mon, 12 Mar 2018 09:31:40 +, Gadi Ben-Avi wrote: > >The command ended correctly, but I don't see the alias in DSLIST (option 3.4). > >The HLQ's for the alias and related library are in different user catalogs. >If I do a listcat on the related library, I see that the alias was defined. > >Am I doing anything wrong? > No. IBM did something stupid and very wrong. >Is this a system limitation? > Yes. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
On Mon, 12 Mar 2018 09:31:40 +, Gadi Ben-Avi wrote: >DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - >RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) > >The command ended correctly, but I don't see the alias in DSLIST (option 3.4). > >The HLQ's for the alias and related library are in different user catalogs. >If I do a listcat on the related library, I see that the alias was defined. For an ordinary data set alias, the alias must be defined in the same catalog as the related data set, and the alias must be found using the normal catalog search. For an alias using SYMBOLICRELATE, this restriction is changed. Once the alias is found by normal catalog search, the catalog search is is redriven from the master catalog. -- Tom Marchant -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
Thanks. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Monday, March 12, 2018 1:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias Yes, AFAIR an alias is created in same UCAT as base name. So if your HLQ is "right" then you'll see the entry, otherwise the entry would exist but it would be invisible (and useless). -- Radoslaw Skorupka Lodz, Poland W dniu 2018-03-12 o 10:55, Gadi Ben-Avi pisze: > Yes, > I looks like the problem was that the HLQs were in two different user > catalogs. > It moved the HLQ to the same user catalog, it now it works. > > Gadi > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Richards, Robert B. > Sent: Monday, March 12, 2018 11:41 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Problem defining alias > > Slashes on the first five selections on 3.4? > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Gadi Ben-Avi > Sent: Monday, March 12, 2018 5:32 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Problem defining alias > > Hi, > I am trying to define an alias to a library. > The library is a PDS/E > I ran the following command: > DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - > RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) > > The command ended correctly, but I don't see the alias in DSLIST (option 3.4). > > The HLQ's for the alias and related library are in different user catalogs. > If I do a listcat on the related library, I see that the alias was defined. > > Am I doing anything wrong? > Is this a system limitation? > > We are using z/OS v2.2 > > Thanks > > == -- Treść tej wiadomości może zawierać informacje prawnie chronione Banku przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie lub inne działanie o podobnym charakterze jest prawnie zabronione i może być karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku. This e-mail may contain legally privileged information of the Bank and is intended solely for business use of the addressee. This e-mail may only be received by the addressee and may not be disclosed to any third parties. If you are not the intended addressee of this e-mail or the employee authorized to forward it to the addressee, be advised that any dissemination, copying, distribution or any other similar activity is legally prohibited and may be punishable. If you received this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software and delete permanently this e-mail including any copies of it either printed or saved to hard drive. mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2018 r. kapitał zakładowy mBanku S.A. (w całości wpłacony) wynosi 169.248.488 złotych. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
Yes, AFAIR an alias is created in same UCAT as base name. So if your HLQ is "right" then you'll see the entry, otherwise the entry would exist but it would be invisible (and useless). -- Radoslaw Skorupka Lodz, Poland W dniu 2018-03-12 o 10:55, Gadi Ben-Avi pisze: Yes, I looks like the problem was that the HLQs were in two different user catalogs. It moved the HLQ to the same user catalog, it now it works. Gadi -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Richards, Robert B. Sent: Monday, March 12, 2018 11:41 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks == -- Treść tej wiadomości może zawierać informacje prawnie chronione Banku przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie lub inne działanie o podobnym charakterze jest prawnie zabronione i może być karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku. This e-mail may contain legally privileged information of the Bank and is intended solely for business use of the addressee. This e-mail may only be received by the addressee and may not be disclosed to any third parties. If you are not the intended addressee of this e-mail or the employee authorized to forward it to the addressee, be advised that any dissemination, copying, distribution or any other similar activity is legally prohibited and may be punishable. If you received this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software and delete permanently this e-mail including any copies of it either printed or saved to hard drive. mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2018 r. kapitał zakładowy mBanku S.A. (w całości wpłacony) wynosi 169.248.488 złotych. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
Great! I thought that was the case, but wasn't sure. I have all but stopped using dataset name aliases, sticking to HLQs. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias Yes, I looks like the problem was that the HLQs were in two different user catalogs. It moved the HLQ to the same user catalog, it now it works. Gadi -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Richards, Robert B. Sent: Monday, March 12, 2018 11:41 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
No, I didn't use the catalog parameter. I trusted the best OS to figure it out for me. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Richards, Robert B. Sent: Monday, March 12, 2018 11:57 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias On second thought, you omitted the CATALOG() parameter. Are the usercats connected at all? It has been a long time since I managed catalogs and aliases, so I may be off base due to a memory page fault. -Original Message- From: Richards, Robert B. Sent: Monday, March 12, 2018 5:41 AM To: 'IBM Mainframe Discussion List' Subject: RE: Problem defining alias Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
On second thought, you omitted the CATALOG() parameter. Are the usercats connected at all? It has been a long time since I managed catalogs and aliases, so I may be off base due to a memory page fault. -Original Message- From: Richards, Robert B. Sent: Monday, March 12, 2018 5:41 AM To: 'IBM Mainframe Discussion List' Subject: RE: Problem defining alias Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
Yes, I looks like the problem was that the HLQs were in two different user catalogs. It moved the HLQ to the same user catalog, it now it works. Gadi -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Richards, Robert B. Sent: Monday, March 12, 2018 11:41 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Problem defining alias Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Problem defining alias
Slashes on the first five selections on 3.4? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Monday, March 12, 2018 5:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Problem defining alias Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Problem defining alias
Hi, I am trying to define an alias to a library. The library is a PDS/E I ran the following command: DEFINE ALIAS (NAME( DB2O.DB2.RUNLIB.LOAD) - RELATE(SYSG.DB2.V11.RUNLIB.LOAD)) The command ended correctly, but I don't see the alias in DSLIST (option 3.4). The HLQ's for the alias and related library are in different user catalogs. If I do a listcat on the related library, I see that the alias was defined. Am I doing anything wrong? Is this a system limitation? We are using z/OS v2.2 Thanks Gadi ? ?? ? ?? ??? ??? ?? ? ??? ?? ??. ?? , ?? ??? ?, ??? ? ?? ??? ? ?? ?? ?. ? ? ?? ?? ?? ?? ?? ??? ??? ???, ?/?? ?, ? ?? ? ? ? ? ?? ?? ? ??? ?/?? ?? ?? ??. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN