Re: Entry point on attach
On Fri, 17 Feb 2012 17:21:12 -0500, Micheal Butz wrote: >Hi > >Again if I do a attach with disp=no >And r1 has the tcb address I can look at the TCBRBP or relating CDE for the >loadpoint of the module > I'm not quite sure what you mean, but if you only did ATTACH with DISP=NO, then the attach will not have completed. Since the loading of the module (if necessary) will be done by the newly created task, I don't think you will find anything useful in the control blocks until you let the subtask run. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: Entry point on attach
Gerhard has outlined what is available very well, but you seem to be confusing load addresses with entry points and to be assuming that there is/will be only one entry. One, but only one, of the important uses of aliases is to associate different aliases with different entries in the same load module | program object. John Gilmore, Ashland, MA 01721 - USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: Entry point on attach
On 2/17/2012 5:21 PM, Micheal Butz wrote: Again if I do a attach with disp=no And r1 has the tcb address I can look at the TCBRBP or relating CDE for the loadpoint of the module I'm not really sure what you're looking for. The CDE (or LPDE for an LPA module) points to another CDE (if it's an alias, a.k.a. minor entry), or an extent list. The CDE has the entry address, the XT list the load address and size. If you are asking about an additional entry in the program, then ATTACH will find that only if it's an ALIAS entry in the load library. If it's not an ALIAS, and you have made some provision for finding the entry address programmatically, you can load the module before the ATTACH, and use IDENTIFY to create a name for the entry. The IDENTIFY method may also be used to let you load the program prior to the ATTACH, so that you know the address, and attach with the fake name. Gerhard Postpischil Bradford, VT -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Entry point on attach
Hi Again if I do a attach with disp=no And r1 has the tcb address I can look at the TCBRBP or relating CDE for the loadpoint of the module Sent from my iPhone -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN