Re: Equivalent of TSOLIB for batch (job library search & JSTCB

2023-07-20 Thread Peter Relson
Search a z/OS release's publications for Module Search Order and you will find this match: https://www.ibm.com/docs/en/zos/2.5.0?topic=lla-module-search-order As with many things, there are techniques and subtleties that can affect what happens. For example, you can bypass the search of

Re: Equivalent of TSOLIB for batch

2023-07-20 Thread Seymour J Metz
AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Equivalent of TSOLIB for batch On Thu, Jul 20, 2023 at 02:26:39AM -0500, Willy Jensen wrote: > I for one would be sorry to see the STEPLIB program from CBT file 452 go > away. I find it very useful for packaging applications in separate set of >

Re: Equivalent of TSOLIB for batch

2023-07-20 Thread Michael Stein
On Thu, Jul 20, 2023 at 02:26:39AM -0500, Willy Jensen wrote: > I for one would be sorry to see the STEPLIB program from CBT file 452 go > away. I find it very useful for packaging applications in separate set of > libraries and then use ISPF LIBDEFs, TSO ALTLIB and the STEPLIB program > to make

Re: Equivalent of TSOLIB for batch (job library search & JSTCB)

2023-07-20 Thread Binyamin Dissen
On Wed, 19 Jul 2023 12:15:10 -0700 Michael Stein wrote: :>* C. IF THE DCB OPERAND WAS OMITTED IN THE MACRO :>* INSTRUCTION, THE JOB LIBRARIES FOR ASCENDING :>* ORIGINATING TCB'S (IF JOB LIBS EXIST) ARE SEARCHED :>* UNTIL THE

Re: Equivalent of TSOLIB for batch

2023-07-20 Thread Willy Jensen
I for one would be sorry to see the STEPLIB program from CBT file 452 go away. I find it very useful for packaging applications in separate set of libraries and then use ISPF LIBDEFs, TSO ALTLIB and the STEPLIB program to make the neccessary allocations. Sadly ISPLLIB has severe limitations and

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Peter Relson
Thanks to Jim Mulder and Tom Marchant for correcting my post. I was perhaps thinking of the STEPLIB "tool" when I mentioned TSOLIB. As Jim pointed out, TSOLIB does utilize the ATTACH with TASKLIB approach. Peter Relson z/OS Core Technology Design

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread David Spiegel
Hi Paul, You said: "...What is the motivation for using CBT 452 STEPLIB, ever? Should CBT withdraw 452 from circulation? ..." The CBT Tape is useful for programming techniques, even if the code isn't actually used. No, it should not be withdrawn. Are you trying to censor it? Regards, David

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Tom Marchant
On Wed, 19 Jul 2023 13:58:15 -0500, Paul Gilmartin wrote: >On Wed, 19 Jul 2023 17:49:08 +, Jim Mulder wrote: > >> Yes, TSOLIB is part of TSO/E and is correctly implemented by ATTACHing >> subsequent commands with a TASKLIB. >> >TASKLIB should not depend on TSO/E It doesn't. It is used

Re: Equivalent of TSOLIB for batch (job library search & JSTCB)

2023-07-19 Thread Michael Stein
On Wed, Jul 19, 2023 at 02:38:44PM -0500, Paul Gilmartin wrote: > Are comments in the source of 3.8 the best available documentation? They might be out of date, but requirements of compatiblity and the cost to IBM of changes make them somewhat relevant. They're easily accessible the other choice

Re: Equivalent of TSOLIB for batch (job library search & JSTCB)

2023-07-19 Thread Paul Gilmartin
On Wed, 19 Jul 2023 12:15:10 -0700, Michael Stein wrote: > >> Does reaching TCBJSTCB stop the search of the JLBs? > >from MVS3.8 source of IEAVLK01 > Are comments in the source of 3.8 the best available documentation? >*... >* A. THE CONTENTS DIRECTORY ENTRIES (CDES) FOR

Re: Equivalent of TSOLIB for batch (job library search & JSTCB)

2023-07-19 Thread Michael Stein
On Tue, Jul 18, 2023 at 06:49:26PM +0300, Binyamin Dissen wrote: > I am trying to do the equivalent of TSOLIB for BATCH, i.e., dynamically adding > loadlibs. I do not have spare parent tasks that I can hang a JLB DCB. > Does reaching TCBJSTCB stop the search of the JLBs? from MVS3.8 source of

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Mohammad Khan
Or please provide references to docs, articles etc. that could explain it to the rest of us. Thanks An ignorant STEPLIB user mkk On Wed, 19 Jul 2023 14:32:59 -0400, David Spiegel wrote: >Hi Jim, >Why is "STEPLIB" dangerous? >Please explain in detail. > >Thanks and regards, >David > > >On

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Paul Gilmartin
On Wed, 19 Jul 2023 17:49:08 +, Jim Mulder wrote: > Yes, TSOLIB is part of TSO/E and is correctly implemented by ATTACHing > subsequent commands with a TASKLIB. > TASKLIB should not depend on TSO/E and should satisfy the OP's need. Are TSOLIB and TASKLIB inherited alike by grandchild

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Ed Jaffe
On 7/19/2023 11:32 AM, David Spiegel wrote: Hi Jim, Why is "STEPLIB" dangerous? Please explain in detail. Thanks and regards, David He is not referring to the //STEPLIB DD statement, he is referring to the old STEPLIB command. There might actually be more than one version of STEPLIB

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread David Spiegel
ie NY -Original Message- From: IBM Mainframe Discussion List On Behalf Of Tom Marchant Sent: Wednesday, July 19, 2023 10:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Equivalent of TSOLIB for batch Peter, I'm a little over my head on this, but isn't TSOLIB in TSO implemented with TASKLI

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Jim Mulder
: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Equivalent of TSOLIB for batch Peter, I'm a little over my head on this, but isn't TSOLIB in TSO implemented with TASKLIB on ATTACH? -- Tom Marchant On Wed, 19 Jul 2023 12:04:12 +, Peter Relson wrote: >Scary stuff being asked about. Certainly the

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Binyamin Dissen
On Wed, 19 Jul 2023 12:04:12 + Peter Relson wrote: :>Scary stuff being asked about. Certainly there is nothing that is supported (and that likely includes whatever TSOLIB does and whatever is on the CBT tape), and nothing that won't put your customer at risk (including possibly

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Tom Marchant
Peter, I'm a little over my head on this, but isn't TSOLIB in TSO implemented with TASKLIB on ATTACH? -- Tom Marchant On Wed, 19 Jul 2023 12:04:12 +, Peter Relson wrote: >Scary stuff being asked about. Certainly there is nothing that is supported >(and that likely includes whatever

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread David Spiegel
Hi Pete, You said: "...Certainly there is nothing that is supported (and that likely includes whatever TSOLIB does ..." It seems as if you're saying that TSOLIB (distributed with z/OS) is potentially not supported. Did I misunderstand? Please explain. Thanks and regards, David On 2023-07-19

Re: Equivalent of TSOLIB for batch

2023-07-19 Thread Peter Relson
Scary stuff being asked about. Certainly there is nothing that is supported (and that likely includes whatever TSOLIB does and whatever is on the CBT tape), and nothing that won't put your customer at risk (including possibly introducing system integrity problems). TASKLIB on ATTACH is the

Re: Equivalent of TSOLIB for batch

2023-07-18 Thread Paul Gilmartin
On Tue, 18 Jul 2023 18:58:54 +0300, Binyamin Dissen wrote: > >It is pure batch, which may have only the single task. > If it's pure batch, with only a single task, code STEPLIB in JCL. If it's Assembler with multiple tasks, code TASKLIB in the ATTACH MACRO. What environment prevents this? >On

Re: Equivalent of TSOLIB for batch

2023-07-18 Thread Binyamin Dissen
If I was using TSO in batch it would be quite easy. There are many parent tasks available. It is pure batch, which may have only the single task. On Tue, 18 Jul 2023 10:53:23 -0500 "Lionel B. Dyck" wrote: :>I'm assuming (and I know the danger of doing that) that you are using TSO in :>batch

Re: Equivalent of TSOLIB for batch

2023-07-18 Thread David Spiegel
Hi Binyamin AMV"SH, Please see CBT File 452 (and 797). Regards, David On 2023-07-18 11:49, Binyamin Dissen wrote: I am trying to do the equivalent of TSOLIB for BATCH, i.e., dynamically adding loadlibs. I do not have spare parent tasks that I can hang a JLB DCB. It appears that the system is

Re: Equivalent of TSOLIB for batch

2023-07-18 Thread Lionel B. Dyck
I'm assuming (and I know the danger of doing that) that you are using TSO in batch since you mention TSOLIB. Check out the STEPLIB command on www.cbttape.org in file 452. If nothing else you can look at the source code to see how it does it. Lionel B. Dyck <>< Website: