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
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
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
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
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
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,
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
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
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
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
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
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
-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
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
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
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
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
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
, 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
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
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
21 matches
Mail list logo