Whomever it was that invented the entire "COND" construct in JCL was severely demented; with the ABENDCC options being only a small part of it! :-(
>________________________________ > From: Joel C. Ewing <[email protected]> >To: [email protected] >Sent: Wednesday, April 18, 2012 11:25 AM >Subject: Re: Execute certain steps based on input parm > > >I confess to having less familiarity with ABENDCC keyword forms, never having >had a need to use one. So, "U001" in "ABENDCC=U001" is a "lexical part" of a >keyword? Good Lord, who invented this syntax? So in the context of an "IF" >statement relational expression, "=" is both a relational operator and also a >lexical part of such key words as the above. A rational person familiar with >practically any other programming language (and with other JCL relational >expressions) would intuitively expect given "ABENDCC=U001" as valid, for >"ABENDCC = U001", "ABENDCC EQ U001", and "ABENDCC NE U001" to all be legal >syntax, which they apparently are not. It is a confusing and unnatural >syntactic act to permit the same special symbol to serve as both an operator >and as part of a keyword! > >-- Joel C. Ewing, Bentonville, AR [email protected] > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO IBM-MAIN > > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

