Well, as a first stab at this...

Since the "symbols" you are interested in are JCL type symbols, then you could 
have the executing program pull them in through the PARM='xxxx" on the EXEC JCL 
card.  As long as the combined length of the symbols your program has an 
interest in less than 100 (assuming you are not currently using the PARM), then 
you should be in good shape.  Programmers do this all the time.

The reason another lister asked for an example of what you are attempting to 
accomplish is because, besides JCL symbols, there are System symbols.  These 
can be gotten through an IBM function which could be called by your program.

Does this help?


 On Wed Jun 13  8:09 , Kirk Wolf  sent:

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