Sorry for the delayed response...

Yes, it is permissible to omit the continuation mark.
>From the z/OS V1R10.0 MVS JCL Reference manual section 17.1.4:

Continuing a Relational Expression 

You can continue relational-expressions on the next JCL statement. Break the 
relational-expression where a blank is valid on the current statement, and 
continue the expression beginning in column 4 through 16 of the next 
statement. Do not put comments on the statement that you are continuing. 
You can code comments after you have completed the statement. For 
example: 




        //TESTCON  IF (RC = 8 | RC = 10 | RC = 12 |
        //            RC = 14)  THEN         COMMENTS OK HERE

Note the lack of continuation character.


On Fri, 21 Jan 2011 09:22:06 -0600, Paul Gilmartin <paulgboul...@aim.com> 
wrote:

>On Fri, 21 Jan 2011 08:08:32 -0600, Robert Birdsall wrote:
>
>>Similar to Gil's reply - skip if you've had enough...
>>    ...
>>// IF (STEPA.RC = 4 AND STEPB.RC = 0 AND STEPC.RUN = FALSE AND
>>//     STEPD.RC = 8 AND STEPE.RUN = FALSE) OR
>>    ...
>>
>Is it permissible to omit the continuation mark in col. 72
>as you appear to have done?  I thought that was permitted
>only if the continued line ended with a comma.
>
>(I looked briefly, not thoroughly, for this in the IF...ELSE
>chapter of the JCL RM.)
>
>Beware of COND=ONLY to suppress execution.  Decades ago, a
>colleague did that, but a prior step ABENDed.  Embarrassing
>because it was my program.  I've since used COND=(0,LE).
>
>Still waiting for a followup in COND format from the person who
>posed the challenge...
>
>-- gil
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to