Oh, that.  Ok.  I thought you were saying that it might not find the first
module of the correct name -- might skip one DS, or look for the second
occurrence, or something.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* You must be prepared to do some serious turning inward toward the life of
the imagination, and that means, I'm afraid, that Geraldo, Keith Obermann,
and Jay Leno must go.  Reading takes time, and the glass teat takes too much
of it.  -Stephen King advises aspiring writers to read a lot; from _On
Writing_ */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
Seymour J Metz
Sent: Friday, July 16, 2021 18:34

The devil is in the details; I can't tell whether the code is reliable
without looking at It. What I can say is that there are searches that do not
cause an ABEND if the module is not found. The relevant text was "if it
finds nowhere, S806 abend will be thrown", which is not true for, e.g.,
BLDL, DESERV, anything with an ERRET parameter.

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Bob Bridges [robhbrid...@gmail.com]
Sent: Friday, July 16, 2021 6:13 PM

Wait, am I missing something?  I have a REXX that takes a module name and DD
name and searches in the DD to tell me where it first finds that module.  Is
that not reliable?

(In my case I use it with SYSPROC, SYSEXEC, ISPCLIB, ISPPLIB and the like.)

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
Seymour J Metz
Sent: Friday, July 16, 2021 11:01

No. What happens depends on the macro and its parameters. Read up on, e.g.,
ERRET=.

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
RCG [rkcgowda1...@gmail.com]
Sent: Friday, July 16, 2021 9:59 AM

Search order goes from the top (JOBLIB / STEPLIB) and indeed it finds the
module from the first library in the concatenation, if it doesn't find, it
searches next library, if it doesn't find, it looks out in your LNKLST,
LPALST etc and if it finds nowhere, S806 abend will be thrown

--- On Fri, Jul 16, 2021 at 7:17 PM A T & T Management
<svet...@ameritech.net> wrote:
> How can one determine where a module is obtained from when the module 
> is in a concatinated dataset list?
> So for example you want to load module A and your dataset list
> is:
>   //modules dd disp=shr,dsn=hlq1.ds1     has modules qwert
>   //        dd disp=shr,dsn=hlq1.ds2     has modules asdf
>   //        dd disp=shr,dsn=hlq2.ds5     has modules zxcv
> So now you would get in return that module A comes from hlq1.ds2

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to