On Mon, 8 Apr 2013 08:35:19 -0400, Shmuel Metz (Seymour J.) wrote:
>
>>So apparently I can code:
>
>>    //12345678.WOMBAT  INCLUDE  FRED  No examples given!
>
>A multlevel name is certainly valid on a DD statement, but I'm not
>sure aboute INCLUDE.
> 
I haven't a JCLLIB handy.  But the JCL RM makes a similarly cryptic
statement about the IF statement:

o The name may be preceded by up to 8 alphanumeric or national characters,
  and then separated by a period. Coding the name in this way should not be
  confused with specifying an override, as can be done when coding DD 
statements. 

Again, saying what it's not for, but not what it is for.  And, in fact:

        3 //A2345678.X  IF TRUE THEN 

... is accepted and the job runs without error.  However,

both:         3 //12345678.X  IF TRUE THEN 
and:         3 //.X  IF TRUE THEN 

... which would appear to be legal according to the description fail with:
                                                             
 STMT NO. MESSAGE                                                               
        3 IEFC662I INVALID LABEL 

I hate JCL!

-- gil

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

Reply via email to