Re: How to find where a module has been dynamically loaded from?
google 'ISPF Hidden Treasures' Several of Peter van Dyke's excellent SHARE papers(.pdf) should pop-up for download. Or if you're SHARE enabled can search youownself In a message dated 4/5/2016 1:37:19 P.M. Central Daylight Time, ren.bren...@bkfs.com writes: And, although I've never tried it, you should be able to invoke ISRDDN from a batch TSO session as well. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Tuesday, April 05, 2016 11:46 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
Or you can also use ISRFIND. Put in the Member Name and LOADMOD Y. It will find anything, including SVC's. Br, Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Griffiths1 Sent: tiistaina 5. huhtikuuta 2016 16.31 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to find where a module has been dynamically loaded from? Hey, that's just the kind of thing I was after, thanks! Cheers, Dave Griffiths IBM Operational Decision Manager z/OS Developer IBM United Kingdom Limited, Hursley Park, Winchester, SO21 2JN, UK Tel: +44 1962 816478 Mobile: 07590 195531 dgr...@uk.ibm.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
Not ISRDDN, but Mark Zelden has a REXX utility called FINDMOD that might accomplish it. Mark's web: http://mzelden.com/mvsutil.html Al Nims Systems Admin/Programmer 3 UFIT University of Florida (352) 273-1298 -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Tuesday, April 05, 2016 11:46 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
Hey, that's just the kind of thing I was after, thanks! Cheers, Dave Griffiths IBM Operational Decision Manager z/OS Developer IBM United Kingdom Limited, Hursley Park, Winchester, SO21 2JN, UK Tel: +44 1962 816478 Mobile: 07590 195531 dgr...@uk.ibm.com From: "Brenton, Ren" <ren.bren...@bkfs.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 05/04/2016 14:35 Subject: Re: How to find where a module has been dynamically loaded from? Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> Did you try: TSO ISRDDN LINKLIST Then member xxx Ren Ext 1448 -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Griffiths1 Sent: Tuesday, April 05, 2016 9:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to find where a module has been dynamically loaded from? Hi, I've got a module which has been dynamically loaded but I'm not sure where from. I can override in the STEPLIB but because it gets loaded even when the STEPLIB entry isn't there I'd like to discover where this other copy is coming from. Our LNKLST is rather large and I'd rather not manually search every one of them. So I just wondered if there is an easy way to search the default search order for a module? Or is there some trace that I can turn on that will appear in the job output, similar to "-verbose:class" in Java? Cheers, Dave Griffiths -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
On 5/04/2016 10:14 PM, David Griffiths1 wrote: Hi, in a batch job. The module is loaded with an assembler LOAD macro. Cheers, You need to chase CDE control blocks. I'm sure others will chip in with pithy comments and code examples. Dave Griffiths From: Elardus Engelbrecht <elardus.engelbre...@sita.co.za> To: IBM-MAIN@LISTSERV.UA.EDU Date: 05/04/2016 14:45 Subject: Re: How to find where a module has been dynamically loaded from? Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> David Griffiths wrote: Hi, I've got a module which has been dynamically loaded but I'm not sure where from. What do you mean by 'dynamically loaded'? Is it a module name which you perhaps know by the module name in one of the libraries? Also in what address space was that loaded? (See below) I can override in the STEPLIB but because it gets loaded even when the STEPLIB entry isn't there I'd like to discover where this other copy is coming from. In batch job or in a session? If in TSO, you already got the answer from Ren Brenton about ISRDDN. Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
Hi, in a batch job. The module is loaded with an assembler LOAD macro. Cheers, Dave Griffiths From: Elardus Engelbrecht <elardus.engelbre...@sita.co.za> To: IBM-MAIN@LISTSERV.UA.EDU Date: 05/04/2016 14:45 Subject: Re: How to find where a module has been dynamically loaded from? Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> David Griffiths wrote: >Hi, I've got a module which has been dynamically loaded but I'm not sure where from. What do you mean by 'dynamically loaded'? Is it a module name which you perhaps know by the module name in one of the libraries? Also in what address space was that loaded? (See below) >I can override in the STEPLIB but because it gets loaded even when the STEPLIB entry isn't there I'd like to discover where this other copy is coming from. In batch job or in a session? If in TSO, you already got the answer from Ren Brenton about ISRDDN. Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
David Griffiths wrote: >Hi, I've got a module which has been dynamically loaded but I'm not sure where >from. What do you mean by 'dynamically loaded'? Is it a module name which you perhaps know by the module name in one of the libraries? Also in what address space was that loaded? (See below) >I can override in the STEPLIB but because it gets loaded even when the STEPLIB >entry isn't there I'd like to discover where this other copy is coming from. In batch job or in a session? If in TSO, you already got the answer from Ren Brenton about ISRDDN. Groete / Greetings Elardus Engelbrecht -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: How to find where a module has been dynamically loaded from?
Did you try: TSO ISRDDN LINKLIST Then member xxx Ren Ext 1448 -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Griffiths1 Sent: Tuesday, April 05, 2016 9:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to find where a module has been dynamically loaded from? Hi, I've got a module which has been dynamically loaded but I'm not sure where from. I can override in the STEPLIB but because it gets loaded even when the STEPLIB entry isn't there I'd like to discover where this other copy is coming from. Our LNKLST is rather large and I'd rather not manually search every one of them. So I just wondered if there is an easy way to search the default search order for a module? Or is there some trace that I can turn on that will appear in the job output, similar to "-verbose:class" in Java? Cheers, Dave Griffiths -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
How to find where a module has been dynamically loaded from?
Hi, I've got a module which has been dynamically loaded but I'm not sure where from. I can override in the STEPLIB but because it gets loaded even when the STEPLIB entry isn't there I'd like to discover where this other copy is coming from. Our LNKLST is rather large and I'd rather not manually search every one of them. So I just wondered if there is an easy way to search the default search order for a module? Or is there some trace that I can turn on that will appear in the job output, similar to "-verbose:class" in Java? Cheers, Dave Griffiths -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN