Re: How tell name of originating load library?

2005-08-18 Thread Gilbert Saint-Flour
Charles Mills wrote: Is it possible for a program to determine the dataset name of the library it was loaded from? . Sorry if I come to late for this to be useful, but did you check how ShowMVS and SYSDEBUG do it using the CDX (CDE eXtension) and/or the DATA option of CSVQUERY? This is

Re: AW: How tell name of originating load library?

2005-08-17 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 08/16/2005 at 05:27 PM, Thomas Ramseier [EMAIL PROTECTED] said: Pardon? Play computer for a second. I dynamically allocate a load library. Then I build a DCB and OPEN it. Then I issue LOAD EP=blah,DCB=mydcb. Then I CLOSE and free the dataset. Now I have a module in

Re: AW: How tell name of originating load library?

2005-08-17 Thread Craddock, Chris
Now I have a module in memory and no way of knowing where it came from. If you can solve that one grasshopper, you can leave the temple. Read his message again: Wouldn't it be possible to front-end the LOAD-, means that he would get control prior to the CLOSE and free. So the only real

Re: How tell name of originating load library?

2005-08-16 Thread Craddock, Chris
Not true. Our product Dorana can tell you which library a load module was executed from. You just have to know where to look and I can't tell that information suffice to say that IBM do provide a number of facilities to do this but they are not, as we found out, documented very well. But alas

How tell name of originating load library?

2005-08-16 Thread Thomas Ramseier
Pardon? Play computer for a second. I dynamically allocate a load library. Then I build a DCB and OPEN it. Then I issue LOAD EP=blah,DCB=mydcb. Then I CLOSE and free the dataset. Now I have a module in memory and no way of knowing where it came from. If you can solve that one grasshopper, you

Re: How tell name of originating load library?

2005-08-16 Thread Edward E. Jaffe
Jim Kyriakakis wrote: Not true. Our product Dorana can tell you which library a load module was executed from. You just have to know where to look and I can't tell that information suffice to say that IBM do provide a number of facilities to do this but they are not, as we found out,

Re: How tell name of originating load library?

2005-08-16 Thread Binyamin Dissen
On Tue, 16 Aug 2005 09:11:31 -0500 Craddock, Chris [EMAIL PROTECTED] wrote: : Not true. Our product Dorana can tell you which library a load module :was : executed from. You just have to know where to look and I can't tell :that : information suffice to say that IBM do provide a number of

Re: How tell name of originating load library?

2005-08-16 Thread Walt Farrell
On 8/16/2005 11:46 AM, [EMAIL PROTECTED] wrote: Wouldn't it be possible to front-end the LOAD-, LINK-, ATTACH-, XCTL-SVCs etc. to get the necessary associaton from the DCB to the DSN? Yes, but after then, from the module itself (for some general module not part of your product that does the

Re: How tell name of originating load library?

2005-08-16 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 08/14/2005 at 09:54 AM, Charles Mills [EMAIL PROTECTED] said: Is it possible for a program to determine the dataset name of the library it was loaded from? There didn't use to be. Consider a program that does an OPEN, a LOAD and a CLOSE. But I vaguel recall a message

Re: How tell name of originating load library?

2005-08-15 Thread Charles Mills
Sent: Sunday, August 14, 2005 7:23 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How tell name of originating load library? Basically you need to call CSVQUERY using an infix address (ie an address contained within the module) because you can't count on the name you know yourself by, being the same

Re: How tell name of originating load library?

2005-08-15 Thread Craddock, Chris
ALSO ... It looks like private libraries (LOAD from specified DCB) may be an issue in some cases. The DD name appears to be a SYSn name from dynamic allocation so it's essentially unknown. Any suggestions or clues on how one could get from entry point name to load library name in that

Re: How tell name of originating load library?

2005-08-15 Thread john gilmore
If I understand him correctly, what Chris Craddock has been trying to say is that this problem is in general unsolvable. Perhaps an analogy will help. Mathematicians have long known that no general method for finding the zeros of polynomials of degree five (quintics) or greater can be

Re: How tell name of originating load library?

2005-08-15 Thread Charles Mills
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of john gilmore Sent: Monday, August 15, 2005 7:48 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How tell name of originating load library? snip I also conjecture that this is why IBM has been 'resistant

Re: How tell name of originating load library?

2005-08-15 Thread Charles Mills
again, Charles -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Craddock, Chris Sent: Monday, August 15, 2005 7:22 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How tell name of originating load library? ALSO ... It looks like private libraries

Re: How tell name of originating load library?

2005-08-15 Thread Jim Kyriakakis
Not true. Our product Dorana can tell you which library a load module was executed from. You just have to know where to look and I can't tell that information suffice to say that IBM do provide a number of facilities to do this but they are not, as we found out, documented very well. But alas

How tell name of originating load library?

2005-08-14 Thread Charles Mills
Is it possible for a program to determine the dataset name of the library it was loaded from? I can issue a BLDL with the program's own entry point name and a DCB address of zero, and then work from the K and Z fields with RDJFCB and ARL. Is there a better approach? An existing control block field

Re: How tell name of originating load library?

2005-08-14 Thread Craddock, Chris
Is it possible for a program to determine the dataset name of the library it was loaded from? I can issue a BLDL with the program's own entry point name and a DCB address of zero, and then work from the K and Z fields with RDJFCB and ARL. Is there a better approach? An existing control block

Fw: How tell name of originating load library?

2005-08-14 Thread Bill Klein
It won't help you in the SHORT-term, but if you are running in an LE-conforming environment (HLL or LE-conforming Assembler), you might want to go thru your IBM marketing rep (G) and ask for a REQUEST to be entered referencing SHARE requirement: SSLNGC0313587 New LE Callable Service to get

Re: How tell name of originating load library?

2005-08-14 Thread Charles Mills
, August 14, 2005 10:48 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: How tell name of originating load library? Is it possible for a program to determine the dataset name of the library it was loaded from? I can issue a BLDL with the program's own entry point name and a DCB address of zero

Re: How tell name of originating load library?

2005-08-14 Thread Charles Mills
PM To: IBM-MAIN@BAMA.UA.EDU Subject: Fw: How tell name of originating load library? It won't help you in the SHORT-term, but if you are running in an LE-conforming environment (HLL or LE-conforming Assembler), you might want to go thru your IBM marketing rep (G) and ask for a REQUEST to be entered

Re: How tell name of originating load library?

2005-08-14 Thread Craddock, Chris
Basically you need to call CSVQUERY using an infix address (ie an address contained within the module) because you can't count on the name you know yourself by, being the same as the name used to load you into memory. By the way, just pointing the INADDR parm at some place in your module will