Re: Can I sense the LIBDEF status?
On Sat, 12 Jun 2021, at 20:53, Bob Bridges wrote: > Out of curiosity, what's the advantage? Possibly none, but I thought that if an allocate was going to fail for some reason handling that before I started using libdefs would be easier. Otherwise I'd have to take more care which libdefs were then reversed. Having said that, for simple dialogs I only allocated a single pds then altlibbed/libdeffed that for each of the types of file within it, eg naming rexx execs Rxxx, skeletons Sxxx, panels Pxx etc. I probably assumed that all the libdefs/altlibs would work, if the alloc had worked. > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Jeremy Nicoll > Sent: Friday, June 11, 2021 18:19 > > Twenty+ years ago I always used ALLOC to allocate the datasets > concerned, and only if that worked then issued LIBDEF/ALTLIB via their > ddname interfaces. -- Jeremy Nicoll - my opinions are my own. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Can I sense the LIBDEF status?
Out of curiosity, what's the advantage? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* If you are not being criticized, you may not be doing much. -Donald Rumsfeld */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Jeremy Nicoll Sent: Friday, June 11, 2021 18:19 Twenty+ years ago I always used ALLOC to allocate the datasets concerned, and only if that worked then issued LIBDEF/ALTLIB via their ddname interfaces. --- On Fri, 11 Jun 2021, at 21:02, Paul Gilmartin wrote: > Do LIBDEF/ALTLIB immediately ALLOCATE the data sets named? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Can I sense the LIBDEF status?
On Fri, 11 Jun 2021, at 21:02, Paul Gilmartin wrote: > Do LIBDEF/ALTLIB immediately ALLOCATE the data sets named? Twenty+ years ago I always used ALLOC to allocate the datasets concerned, and only if that worked then issued LIBDEF/ALTLIB via their ddname interfaces. -- Jeremy Nicoll - my opinions are my own. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Can I sense the LIBDEF status?
On Fri, 11 Jun 2021 13:39:05 -0400, Tom Conley wrote: >... >You can use TSO ALTLIB DISPLAY and outtrap to see if ALTLIB is active. >There is also an ISPF service QLIBDEF to show the LIBDEFs. > Do LIBDEF/ALTLIB immediately ALLOCATE the data sets named? Are they concatenated? Do they appear in ISRDDN/DDLIST? Is it clearly apparent where a member (e.g. WOMBAT) will be found in the command search order? (Suppose I want to View the right WOMBAT when several exist among allocated libraries.) -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Can I sense the LIBDEF status?
On 6/11/2021 12:21 PM, Bob Bridges wrote: Coïncidentally, I have an iSPF-related question this morning. I find I want to write a REXX that can turn on or off a sort of test mode, by doing an ALTLIB and LIBDEF (one each). When this test mode is on, ALTLIB and LIBDEF are active and the commands I invoke will come from the ALTLIB library; when I'm done, I'll turn the test mode off and the REXX will clear the datasets. I can easily enough create an ISPF variable to track the current status. But is there a way to look at the ALTLIB and/or LIBDEF status without it? I mean, is there some command I can execute that'll determine whether an ALTLIB or LIBDEF statement is (so to speak) active? Bob, You can use TSO ALTLIB DISPLAY and outtrap to see if ALTLIB is active. There is also an ISPF service QLIBDEF to show the LIBDEFs. Regards, Tom Conley -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Can I sense the LIBDEF status?
Issue command ISPLIBD on the command line. Thanks -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bob Bridges Sent: Friday, June 11, 2021 11:21 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Can I sense the LIBDEF status? ATTENTION: This e-mail came from an external source. Do not open attachments or click on links from unknown or unexpected emails. Coïncidentally, I have an iSPF-related question this morning. I find I want to write a REXX that can turn on or off a sort of test mode, by doing an ALTLIB and LIBDEF (one each). When this test mode is on, ALTLIB and LIBDEF are active and the commands I invoke will come from the ALTLIB library; when I'm done, I'll turn the test mode off and the REXX will clear the datasets. I can easily enough create an ISPF variable to track the current status. But is there a way to look at the ALTLIB and/or LIBDEF status without it? I mean, is there some command I can execute that'll determine whether an ALTLIB or LIBDEF statement is (so to speak) active? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* School that day consisted of a field trip to see a live performance of "A Christmas Carol". This incensed my son, who believes cultural benefit can only be found in entertainment that involves gruesome death. "I hate the whole thing," he fumed when he found out about it. "I hate the ghost of Christmas presents, I hate the guy who baas 'humbug,' and I hate Emily Dickinson." -W Bruce Cameron, May 2002 */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Jesse 1 Robinson Sent: Friday, June 11, 2021 11:33 Now with some content. At one time ISPF-L was in the hands of Leonard Woren. Something indeed has gone wrong. I saw Leonard at SHARE in San Jose--along with his wife!!! Sounds like a job for Super Tom. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Tom Conley Sent: Friday, June 11, 2021 5:28 AM The ISPF-L listserver is broken, it's some kind of mailing list now. Pretty sure it's no longer hosted at Notre Dame. I had NOMAIL set on the listserver, now I get mailbombed whenever someone posts to it. ISPF-L should be put out of its misery. --- On 6/10/2021 5:39 PM, Bob Bridges wrote: > I'm a little incredulous that no one mentioned it already, but yes, there is > an ISPF-L listserv; check out ispf-l-l...@nd.edu. > > But it's not nearly as active as IBM-MAIN is, and you got excellent answers > here. I'm not complaining, just answering your question. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Can I sense the LIBDEF status?
Coïncidentally, I have an iSPF-related question this morning. I find I want to write a REXX that can turn on or off a sort of test mode, by doing an ALTLIB and LIBDEF (one each). When this test mode is on, ALTLIB and LIBDEF are active and the commands I invoke will come from the ALTLIB library; when I'm done, I'll turn the test mode off and the REXX will clear the datasets. I can easily enough create an ISPF variable to track the current status. But is there a way to look at the ALTLIB and/or LIBDEF status without it? I mean, is there some command I can execute that'll determine whether an ALTLIB or LIBDEF statement is (so to speak) active? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* School that day consisted of a field trip to see a live performance of "A Christmas Carol". This incensed my son, who believes cultural benefit can only be found in entertainment that involves gruesome death. "I hate the whole thing," he fumed when he found out about it. "I hate the ghost of Christmas presents, I hate the guy who baas 'humbug,' and I hate Emily Dickinson." -W Bruce Cameron, May 2002 */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Jesse 1 Robinson Sent: Friday, June 11, 2021 11:33 Now with some content. At one time ISPF-L was in the hands of Leonard Woren. Something indeed has gone wrong. I saw Leonard at SHARE in San Jose--along with his wife!!! Sounds like a job for Super Tom. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Tom Conley Sent: Friday, June 11, 2021 5:28 AM The ISPF-L listserver is broken, it's some kind of mailing list now. Pretty sure it's no longer hosted at Notre Dame. I had NOMAIL set on the listserver, now I get mailbombed whenever someone posts to it. ISPF-L should be put out of its misery. --- On 6/10/2021 5:39 PM, Bob Bridges wrote: > I'm a little incredulous that no one mentioned it already, but yes, there is > an ISPF-L listserv; check out ispf-l-l...@nd.edu. > > But it's not nearly as active as IBM-MAIN is, and you got excellent answers > here. I'm not complaining, just answering your question. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN