The LINKLIST is the LINKLIST, regardless if you are processing in BATCH, or 
TSO/ISPF.  So if you fire up ISRDDN from TSO, you should be able to find your 
module, and it should be loaded from the same place in your batch job.

And, although I've never tried it, you should be able to invoke ISRDDN from a 
batch TSO session as well.

Ren
Ext 1448


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Tuesday, April 05, 2016 11:46 AM
To: [email protected]
Subject: Re: How to find where a module has been dynamically loaded from?

On Tue, 5 Apr 2016 08:45:14 -0500, Elardus Engelbrecht wrote:
>
>In batch job or in a session? If in TSO, you already got the answer from Ren 
>Brenton about ISRDDN.
> 
Can ISRDDN be invoked in batch?  It's a shame if so useful a facility is 
available only from a TSO LOGON.  (I can run ISPF in batch, with restrictions.)

Either way, you need to replicate your TASKLIB, STEPLIB, JOBLIB, LINKLIST 
search order.
That chore is manageable because ISRDDN MEMBER returns all candidates; you need 
only choose the most promising one.  In the worst case, a child task can 
allocate an unknown TASKLIB before LOADing the grandchild module.  That 
requires more detective work.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.


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

Reply via email to