3. Include linklist too.

I think you are looking for something like the "TSO ISRDDN" then "LOAD 
modname", it load the module then tells you where it was loaded from, my guess 
is that it loads the module then issues a CSVQUERY to obtain the information of 
where it was loaded from (OUTDSKEY?).

Bad part though: "Note that the format of this key is not part of the 
programming interface."

Is that what you are looking for?

Regards,
Leo
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Support, DUNNIT SYSTEMS LTD.
Sent: Wednesday, January 27, 2016 11:22 AM
To: [email protected]
Subject: Re: Need to find the DSN from where load module was loaded

Hello Eileen,

Thank you for sending me the code. I haven't looked at it yet but I'll narrow 
down what I'm talking about:

1. Environment is batch or ISPF. Check is during execution. Code is Assembler.
2. Looking for origin DSN of program module which was loaded via LOAD macro.
3. Loadlib can be in JOBLIB, STEPLIB or ISPF LIBDEF.
4. There may be multiple loadlibs concatenated together in the DD allocation.

Jerry

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to