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

   I've had terrible experiences using COND=ONLY and, to a lesser extent, 
COND=EVEN.  Always considered them the lazy way to handle exceptions (just my 
opinion though) so I've avoided them if at all possible.
 
     Stan

Stan Weyman 
Senior Software Engineer
stan.wey...@emc.com
EMC²  (508)249-3966
where information lives
It is wise to keep in mind that neither
success nor failure is ever final...

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Paul Gilmartin
Sent: Friday, January 21, 2011 10:22 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: If Else JCL question

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