Gotta do this:

>>>>>>>>>>>>>>>>>>>>>%$%$#@$CONDCODES<<<<<<<<<<<<<<<<<<             
//STEP  EXEC PGM=IEFBR14,COND=(9,LT)  SAYS                          
"RUN IEFBR14 UNLESS 9 IS LESS THAN THE CURRENT MAXIMUM RETURN CODE."
                                                                    
"IF IT'S TRUE, DON'T DO"...                                         
>>>>>>>>>>>>>>>>>>>>>%$%$#@$CONDCODES<<<<<<<<<<<<<<<<<<             


John Donnelly
National Semiconductor Corporation
2900 Semiconductor Drive
Santa Clara, CA 95051

408-721-5640 
408-470-8364 Cell
cjp...@nsc.com



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Greg Shirey
Sent: Thursday, January 20, 2011 2:01 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: If Else JCL question

Either I'm confused too, or COND says "do NOT execute if 4 is less than the 
return code"; that is - COND=(4,LT).  

Unless you meant something else...  

Greg Shirey
Ben E. Keith Company 

-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of Frank Swarbrick
Sent: Thursday, January 20, 2011 2:42 PM

It's not only "not" logic, but is also what I would call "inverse conditional".

Ideally there would be an option to say "execute if the return code is equal to 
zero" or "execute if the return code is less than 5".
Even some "not" logic would be OK (IMO) if we could say "execute if the return 
code is NOT greater than 4".  In fact, I would rather prefer this.
But what COND says is "execute if 4 is less than the return code".  Or 
something like that!   To me it's "doubly confusing".  So confusing that I 
can't even figure out the rest of what I was going to say about it!  :-)

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