JSCBPGMN may have the name of the current program (see  IEZJSCB macro)

*                             AREA  (MDC303)                   @
JSCBPGMN DS    0CL8 -         JOB STEP PROGRAM NAME  (MDC304)  @
JSCBECB1 DS    A -            ADDR OF CANCEL ECB WHILE         @
*                             WAITING FOR A REGION (IEFSD363)  @

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Shmuel Metz (Seymour J.)
Sent: Sunday, September 30, 2007 10:25 AM
To: [email protected]
Subject: Re: Dynamic load module name extraction?

In <[EMAIL PROTECTED]>, on 09/25/2007
   at 08:30 AM, David Eisenberg <[EMAIL PROTECTED]> said:

>Is there a way for an executing assembler program to extract its own
load
> module name for programmatic examination? 

CSVQUERY? Get the CDE address from the PRB?
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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

Reply via email to