I am not sure that anyone has answered his question.. He understands search order and S806. I *think* what he is asking is this:
I write a program. It loads module A, quite successfully, from DD MODULES. MODULES is in fact a concatenation. Can my program determine programmatically at run time which DSN the module came from? The BLDL answer comes close. If instead of just loading the module I were to first (or for that matter, later) do a BLDL then I could search the BLDL return list and find that MODULE was located in concatenation +2, and then there are other methods for finding the DSN's that make up the MODULE concatenation list. But is there any way "after the LOAD"? IOW I have already loaded the module and now I want to learn the source. I don't know. Does CSVQUERY or similar return this info? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of A T & T Management Sent: Friday, July 16, 2021 6:47 AM To: [email protected] Subject: Concatinated datasets 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 [email protected] with the message: INFO IBM-MAIN
