> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Wolf
> Sent: Wednesday, June 13, 2007 8:10 AM
> To: [email protected]
> Subject: Re: Read JCL Symbols from a program?
> 
> 
> Kenneth E Tomiak wrote:
> > What are you defining a current JCL symbol to be? Show us 
> an example.
> >
> > On Tue, 12 Jun 2007 15:17:57 -0500, Kirk Wolf 
> <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Does anyone know how to read the current JCL symbols from 
> a program?
> >>
> >> Kirk Wolf
> >> Dovetailed Technologies
> >>
> >>     
> JCL Symbols are PROC variables, and may be set using:
> 
> 1) EXEC statement keywords
> 2) Keywords on the PROC statement
> 3) The "SET" JCL statement.
> 
> They are defined in the JCL Reference manual, chapter 5: 
> "Using System 
> Symbols and JCL Symbols"
> 
> Example:
> 
> // SET PARM1=NEW
> // EXEC PROC=FOO,PARM2=OLD
> 
> In this example, while executing the FOO proc, you have JCL symbols 
> PARM1 and PARM2.
> 
> My question is this:  does anyone know a way for a program to 
> read the 
> current JCL symbols?
> It could be that all of this information is washed away by 
> the converter 
> interpreter....
> 
> Kirk Wolf
> Dovetailed Technologies

I am fairly sure that the information is indeed "washed away" by the
converter and not kept in any kind of control block that you can
__easily__ access. If you really wanted to, you might be able to get
hold of the JESJCL dataset like SDSF does and parse that out yourself.
<shiver> I looked and the information is NOT in the $INTTEXT spool
dataset.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

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