On Tue, 29 Jul 2014 06:42:40 -0700, Lizette Koehler wrote:

>I just noticed the following changes in JCL for System Symbols in V2.1
> 
Only just?  Many of us have been reveling in the disclosure ever since
the preliminary announcement of 2.1.

>...
>       . Exporting JCL symbols-A new JCL statement EXPORT has been added,
>that defines a list of JCL symbols that should be made available to the
>application at execution time. A subsequent SET statement, and only SET
>statement, ...
>  
I hadn't noticed the "only SET statement".  And elsewhere the (older) JCL
RM counsels against setting symbols "in terms of" (IIRC) other symbols.
I wonder what happens if:

    //P  PROC  A=
    //  EXPORT S
    //  SET S=&A
        ...

Syntax error?  Other undesirable result.  A harsh reprimand if a customer
submits an SR on the behavior?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to