Re: Elementary dataset alias question

2016-09-02 Thread Paul Gilmartin
On Fri, 2 Sep 2016 12:37:23 -0500, Mike Schwab wrote: > >> It would be a favor to customers if there were a standard system symbol >> evaluating to nothing with a name as short as possible. >> >&NULL or &SYSNULL > Is that a suggestion? They seem not to exist on the system I usually use. Regardle

Re: Elementary dataset alias question

2016-09-02 Thread Mike Schwab
On Wed, Aug 31, 2016 at 10:16 AM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Wed, 31 Aug 2016 08:38:58 -0400, John Eells wrote: > It would be a favor to customers if there were a standard system symbol > evaluating to nothing with a name as short as possible. > >

Re: Elementary dataset alias question

2016-09-01 Thread Edward Gould
>> SNIP >> > ​Interesting. I have a friend who did essentially the same thing. With his > boss watching. He got fired the next day for modifying production JCL > without an approved change control request. ​ > > John, Luckily we didn’

Re: Elementary dataset alias question

2016-08-31 Thread Paul Gilmartin
On Wed, 31 Aug 2016 10:16:03 -0500, Paul Gilmartin wrote: > >Can one use a symbolic alias with DISP=NEW? That would answer a FAQ, >"How can I create a DSN incorporating a timestamp?" > Apparently not. I tried it with DISP=(MOD,CATLG). It created the DSN on a storage pack with the alias na

Re: Elementary dataset alias question

2016-08-31 Thread Paul Gilmartin
On Wed, 31 Aug 2016 08:38:58 -0400, John Eells wrote: > >> BTW, is there a form of LISTCAT that lists both ALIAS and RELATED names? >Yes. > Feels like RTFM. Ah! I stumbled on ALL; GIYF. In my (weak) defense, ALL does not appear in alphabetical order in that manual; it's well concealed in a list

Re: Elementary dataset alias question

2016-08-31 Thread John Eells
Paul Gilmartin wrote: BTW, is there a form of LISTCAT that lists both ALIAS and RELATED names? Yes. -- John Eells IBM Poughkeepsie ee...@us.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send ema

Re: Elementary dataset alias question

2016-08-31 Thread John McKown
On Tue, Aug 30, 2016 at 11:04 PM, Edward Gould wrote: > > On Aug 30, 2016, at 10:40 AM, Charles Mills wrote: > > > >> Why do you want to do this? > > > > The JCL for a zillion jobs is essentially fixed and unchangeable without > disrupting other things. > > > > Charles > > Charles, > > A long ti

Re: Elementary dataset alias question

2016-08-31 Thread Tom Marchant
On Tue, 30 Aug 2016 19:07:09 -0500, Tom Marchant wrote: >Perhaps even better, and to satisfy Gil's requirement, define a system symbol, >perhaps &NULL, with a substitution value that is null, and use that with >SYMBOLICRELATE to SYS1.FOOBAR&NULL > >or some such. I suspect that you don't even hav

Re: Elementary dataset alias question

2016-08-30 Thread Paul Gilmartin
On Tue, 30 Aug 2016 23:04:17 -0500, Edward Gould wrote: >> On Aug 30, 2016, at 10:40 AM, Charles Mills wrote: >> >> The JCL for a zillion jobs is essentially fixed and unchangeable without >> disrupting other things. >> >IOW mass changes can be done if thought through carefully. > But that req

Re: Elementary dataset alias question

2016-08-30 Thread Edward Gould
> On Aug 30, 2016, at 10:40 AM, Charles Mills wrote: > >> Why do you want to do this? > > The JCL for a zillion jobs is essentially fixed and unchangeable without > disrupting other things. > > Charles Charles, A long time ago I had a problem like this, JES2 (and or the C/I) changed the rul

Re: Elementary dataset alias question

2016-08-30 Thread Paul Gilmartin
On 2016-08-30, at 19:47, Anthony Thompson wrote: > You can look forward to being neither surprised nor delighted. > OK. I'm neither. Thanks. > -Original Message- > From: Paul Gilmartin > Sent: Wednesday, 31 August 2016 10:43 AM > > ... Somehow I don't trust IBM designers to have bee

Re: Elementary dataset alias question

2016-08-30 Thread Anthony Thompson
o:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Wednesday, 31 August 2016 10:43 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question Does that restrict the length of related DSNs to 39 characters rather than 44 because a 5-character name is replaced by a 0

Re: Elementary dataset alias question

2016-08-30 Thread Paul Gilmartin
On Tue, 30 Aug 2016 19:07:09 -0500, Tom Marchant wrote: > >Perhaps even better, and to satisfy Gil's requirement, define a system symbol, >perhaps &NULL, with a substitution value that is null, and use that with >SYMBOLICRELATE to SYS1.FOOBAR&NULL > Does that restrict the length of related DSNs

Re: Elementary dataset alias question

2016-08-30 Thread Tom Marchant
On Tue, 30 Aug 2016 16:14:54 -0500, Tom Marchant wrote: >Define system symbol &FOOBAR to have a value of FOOBAR > >Define your alias with SYMBOLICRELATE to SYS1.&FOOBAR Perhaps even better, and to satisfy Gil's requirement, define a system symbol, perhaps &NULL, with a substitution value that i

Re: Elementary dataset alias question

2016-08-30 Thread CM Poncelet
;DEF ALIAS (NAME('OSRnn."dsn"') REL('"dsn"'))" , "CAT('MVSRnn.ICF.MASTER')" . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Progra

Re: Elementary dataset alias question

2016-08-30 Thread Tom Marchant
On Mon, 29 Aug 2016 15:34:59 -0700, Charles Mills wrote: >SYS1.FOOBAR is a dataset cataloged in the master catalog. It's not "real >special" like SYS1.LINKLIB or anything. It's an SMP/E-managed IBM product >library. I don't think it is APF-authorized. I think it is linklisted if >that makes a diff

Re: Elementary dataset alias question

2016-08-30 Thread Jesse 1 Robinson
gon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-302-7535 Office robin...@sce.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John Eells Sent: Tuesday, August 30, 2016 10:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject:

Re: Elementary dataset alias question

2016-08-30 Thread John Eells
Tom Marchant wrote: A word of caution. If the real data set is subject to moving to a different volume, for example because of HSM migrate/recall, the second catalog entry will not be updated when it is recalled. And of course, if the data set is on the IPL volume, you would catalog it to ***

Re: Elementary dataset alias question

2016-08-30 Thread Jesse 1 Robinson
U Subject: (External):Re: Elementary dataset alias question On Tue, 30 Aug 2016 10:17:54 -0500, Tom Marchant wrote: >On Tue, 30 Aug 2016 09:09:45 -0400, John Eells wrote: > >>define nonvsam(name('sys1.deleteme.test') volumes(d83xl2) devt(3390)) >>catalog('CATALOG.

Re: Elementary dataset alias question

2016-08-30 Thread Charles Mills
ot; digressions. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tom Marchant Sent: Tuesday, August 30, 2016 8:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question On Tue, 30 Aug 2016 08:40:51 -0700

Re: Elementary dataset alias question

2016-08-30 Thread Tom Marchant
On Tue, 30 Aug 2016 08:40:51 -0700, Charles Mills wrote: >> Why do you want to do this? > >The JCL for a zillion jobs is essentially fixed and unchangeable without >disrupting other things. So the data set is not in LNKLST? -- Tom Marchant -

Re: Elementary dataset alias question

2016-08-30 Thread Charles Mills
6 8:18 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question On Tue, 30 Aug 2016 09:09:45 -0400, John Eells wrote: >define nonvsam(name('sys1.deleteme.test') volumes(d83xl2) devt(3390)) >catalog('CATALOG.SVPLEX4.USERCAT') <== This one adds th

Re: Elementary dataset alias question

2016-08-30 Thread Paul Gilmartin
On Tue, 30 Aug 2016 10:17:54 -0500, Tom Marchant wrote: >On Tue, 30 Aug 2016 09:09:45 -0400, John Eells wrote: > >>define nonvsam(name('sys1.deleteme.test') volumes(d83xl2) devt(3390)) >>catalog('CATALOG.SVPLEX4.USERCAT') <== This one adds the entry to the >>user catalog my user ID's alias points

Re: EXTERNAL: Re: Elementary dataset alias question

2016-08-30 Thread Jerry Whitteridge
:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John Eells Sent: Tuesday, August 30, 2016 6:10 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: EXTERNAL: Re: Elementary dataset alias question Yes, you can do what you want. But first, you have to understand the notion of "catalog orientation." All searches start in

Re: Elementary dataset alias question

2016-08-30 Thread Paul Gilmartin
On Tue, 30 Aug 2016 09:09:45 -0400, John Eells wrote: > >I mentioned an exception. When you use a system symbol in the >related-to field specified by SYMBOLICRELATE, the system will *start >over* at the master catalog, or "reorient the search to the master >catalog." It will then look for entries

Re: Elementary dataset alias question

2016-08-30 Thread Tom Marchant
On Tue, 30 Aug 2016 09:09:45 -0400, John Eells wrote: >define nonvsam(name('sys1.deleteme.test') volumes(d83xl2) devt(3390)) >catalog('CATALOG.SVPLEX4.USERCAT') <== This one adds the entry to the >user catalog my user ID's alias points to. > >define alias(name('eells.deleteme.test') relate('sys1.

Re: Elementary dataset alias question

2016-08-30 Thread Mike Schwab
On Mon, Aug 29, 2016 at 6:27 PM, Charles Mills wrote: > I just want a batch job to be able to say //STEPLIB DD > DISP=SHR,DSN=JOEBLOW.MY.FOO.BAR and have it load programs from SYS1.FOOBAR. > Isn't that what aliases are for? I guess you are saying "aliases are not > system-wide -- they are intr

Re: Elementary dataset alias question

2016-08-30 Thread John Eells
Hah! You're confusing me with Terri M. and Steve B. ;-) But of course you're quite welcome. I recently wrote and gave a "Care and Feeding of Catalogs" class for our newer folks that covers most of this (and more!), and I submitted it for the next SHARE along with another session I can't talk

Re: Elementary dataset alias question

2016-08-30 Thread Charles Mills
: Elementary dataset alias question Yes, you can do what you want. But first, you have to understand the notion of "catalog orientation." All searches start in the master catalog. If catalog connector alias is found (for example, "EELLS") pointing to a user catalog (such

Re: Elementary dataset alias question

2016-08-30 Thread John Eells
Yes, you can do what you want. But first, you have to understand the notion of "catalog orientation." All searches start in the master catalog. If catalog connector alias is found (for example, "EELLS") pointing to a user catalog (such as "CATALOG.SVPLEX4.USERCAT"), then the search is redirec

Re: Elementary dataset alias question

2016-08-29 Thread Edward Gould
> On Aug 29, 2016, at 6:14 PM, Steve Beaver wrote: > > Charles -- As an aside for you and maybe others. > > Most SYSPROGS will install a product that contains the VERSION/RELEASE > level mostly to know what we have. > Once we are done testing and over a weekend we will delete the COMMON name >

Re: Elementary dataset alias question

2016-08-29 Thread Charles Mills
ainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Monday, August 29, 2016 5:05 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question On Mon, 29 Aug 2016 15:41:00 -0700, Lizette Koehler wrote: > >You can also look at SYMBOLICRE

Re: Elementary dataset alias question

2016-08-29 Thread Paul Gilmartin
On Mon, 29 Aug 2016 16:27:38 -0700, Charles Mills wrote: > >Tell it when? A "batch JCL" time? Then yes, that largely negates the purpose. >Or at "define the alias" time? Something like DEFINE ALIAS ... >CATALOG(MASTER). That would be okay. > Well, not really. At execution, the job will seek JOE

Re: Elementary dataset alias question

2016-08-29 Thread Charles Mills
Of Jesse 1 Robinson Sent: Monday, August 29, 2016 4:56 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question OK, confusion in my own post. 'OSR21.SYS1.LINKLIB' is an alias in mcat pointing to maintenance ucat 'OSR21.SYS1.LINKLIB' is also an alias in main

Re: Elementary dataset alias question

2016-08-29 Thread Paul Gilmartin
On Mon, 29 Aug 2016 15:41:00 -0700, Lizette Koehler wrote: > >You can also look at SYMBOLICRELATE > DEFINE ALIAS (NAME(SYS1.FOOBAR) - >SYMBOLICRELATE('JOEBLOW.FOOBAR')) > "SYMBOLICRELATE" can be abbreviated "SYM". I avoid using abbreviations in a didactic context. I even say "ALLOCAT

Re: Elementary dataset alias question

2016-08-29 Thread Jesse 1 Robinson
ic Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-302-7535 Office robin...@sce.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Monday, August 29, 2016 4:28 PM To: IBM-MAIN@LISTSERV.UA.EDU

Re: Elementary dataset alias question

2016-08-29 Thread Jesse 1 Robinson
Mobile 626-302-7535 Office robin...@sce.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Monday, August 29, 2016 4:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Elementary dataset alias question Oh

Re: Elementary dataset alias question

2016-08-29 Thread Charles Mills
Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Beaver Sent: Monday, August 29, 2016 4:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question Charles -- As an aside for you and maybe others. Most SYSPROGS will install a product that contains the

Re: Elementary dataset alias question

2016-08-29 Thread Charles Mills
, 2016 3:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: 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 >JOEBL

Re: Elementary dataset alias question

2016-08-29 Thread Jesse 1 Robinson
Trying again to format properly. -Original Message- From: Jesse 1 Robinson Sent: Monday, August 29, 2016 4:12 PM To: 'IBM Mainframe Discussion List' Subject: Re: Elementary dataset alias question I tested with unexpected results. 1. Create a PO data set with name 'SYS

Re: Elementary dataset alias question

2016-08-29 Thread Steve Beaver
2016 3:35 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Elementary dataset alias question > > I'm a coder -- I barely know how to spell catalog -- but there are > those of you on this list who have forgotten more about catalogs than I will ever know. > > Here's the

Re: Elementary dataset alias question

2016-08-29 Thread Jesse 1 Robinson
MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Monday, August 29, 2016 3:55 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 JOEBL

Re: Elementary dataset alias question

2016-08-29 Thread Paul Gilmartin
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

Re: Elementary dataset alias question

2016-08-29 Thread Charles Mills
Thanks @Lizette. I will pass this on. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Monday, August 29, 2016 3:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Elementary dataset alias question Yes, you

Re: Elementary dataset alias question

2016-08-29 Thread Lizette Koehler
3:35 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Elementary dataset alias question > > I'm a coder -- I barely know how to spell catalog -- but there are those of > you on this list who have forgotten more about catalogs than I will ever know. > > Here's the question. (And like

Elementary dataset alias question

2016-08-29 Thread Charles Mills
I'm a coder -- I barely know how to spell catalog -- but there are those of you on this list who have forgotten more about catalogs than I will ever know. Here's the question. (And like all these things, there is a long story reason why doing things this way seems to make sense.) SYS1.FOOBAR is a