On Apr 8, 2013, at 8:26 AM, Paul Gilmartin <[email protected]> wrote:
> 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. > > … > 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 The general rule for JCL labels is that the first character must be a letter or national character, and while "up to" is a bit ambiguous I would have expected it to enforce "at least one". These results doesn't surprise me at all. > Again, saying what it's not for, but not what it is for. I find this makes for a useful way to visually match IF … ELSE … ENDIF statements: //TEST1.IF IF RC GT 0 THEN … //TEST2.IF IF ABEND THEN … //TEST2.ENDIF ENDIF … //TEST1.ELSE ELSE … //TEST1.ENDIF ENDIF -- Curtis Pew ([email protected]) ITS Systems Core The University of Texas at Austin ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
