David,

Look at CSVINFO...it can drive an exit which passes the EXEC PGM=
program name in MODI_8_BYTE_NAME.

Tom Harper
IMS Utilities Development Team
Neon Enterprise Software, Inc. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of David Eisenberg
Sent: Tuesday, September 25, 2007 8:31 AM
To: [email protected]
Subject: Dynamic load module name extraction?

Anyone,

Is there a way for an executing assembler program to extract its own
load 
module name for programmatic examination? (If it matters, it would be
the 
original load module called via an EXEC statement in the JCL; it
wouldn't have 
been loaded by a previously executing program.)

Thanks so much,

David

----------------------------------------------------------------------
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

Reply via email to