-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf Of Charles Mills
Sent: Monday, January 18, 2010 9:33 AM
To: [email protected]
Subject: Re: Any idea how a batch pgm (fetchable routine) can
find out by which program it was fetched?
Is the name of the jobstep program available somewhere? The
name from EXEC
PGM=? That might satisfy the OP.
Charles
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf
Of McKown, John
Sent: Monday, January 18, 2010 6:20 AM
To: [email protected]
Subject: Re: Any idea how a batch pgm (fetchable routine) can
find out by
which program it was fetched?
-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:[email protected]] On Behalf Of Jan Vanbrabant
Sent: Monday, January 18, 2010 3:38 AM
To: [email protected]
Subject: Any idea how a batch pgm (fetchable routine) can
find out by which program it was fetched?
Hi,
Question wholly contained in the subject:
Any idea how a batch pgm (fetchable routine) can find out by
which program
it was fetched?
By chance no sample or skeleton sample available somewhere?
Jan
No, it is not possible to tell that at all "after the fact".
Example:
load module "A" does a LOAD and load module "B". Module "A"
then LINKs to
module "C", passing the address of module "B". Module "C" then does a
BASR/BALR to module "B". No trace of who actually did the LOAD.
Even worse than the above would be if "A" did an XCTL to "C",
passing the
address of "B". Now "A" may not even be in the address space any more.
And if LE is involved, like with COBOL or PL/1, then they
don't even do the
LOAD, there is an LE subroutine which does it.
--
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets(r)
9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain
confidential or
proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of
the original
message. HealthMarkets(r) is the brand name for products
underwritten and
issued by the insurance subsidiaries of HealthMarkets, Inc.
-The Chesapeake
Life Insurance Company(r), Mid-West National Life Insurance Company of
TennesseeSM and The MEGA Life and Health Insurance Company.SM
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html