I always guessed COND= was invented by someone who took a Boolean Logic or Digital Electronics class, where I once heard that negative logic NAND/NOR ends up with less logic or hardware than AND/OR.

On 7/12/2019 5:41 PM, Steve Smith wrote:
As a long-time assembler programmer and JCL wrangler, I absolutely think
that COND is backwards, confusing, and the opposite of intuitive.  Whenever
multiple CONDs are present, I'm lost.  Is it OR or AND and is that in the
positive or negative sense?

The new* IF / ELSE / ENDIF statements are an infinite improvement.

sas
*"new" still means "in the last 25 years".

On Fri, Jul 12, 2019 at 3:41 PM Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

On Fri, 12 Jul 2019 18:50:00 +0000, Edgington, Jerry wrote:

Condition code testing in JCL, has always seemed backward logic to me.

I suspect it's intuitive to an Assembler programmer accustomed to
branching *around* a section of code.
...

Use IF.  It's more intuitive nowadays.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to