On Wed, 9 Sep 2020 14:31:24 -0700, Sri h Kolusu wrote: > >>>Are complicated Boolean expressions supported? > >Yes. Check this link > >https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.icea100/ice2ca_Relational_condition.htm > Thanks. I see: AND statements are evaluated before OR statements unless parentheses are used to change the order of evaluation; expressions inside parentheses are always evaluated first. (Nesting of parentheses is limited only by the amount of storage available.)
It would be useful to see an example where "parentheses are used to change the order of evaluation." Perhaps: INCLUDE=((5,4,BI,LT,11,4,BI),AND,((21,4,BI,EQ,31,4,BI),OR, (61,20,SS,EQ,C'FLY'))) Are the commas in the right places? (I added some needless parentheses just for practice.) Is there a NOT or must the programmer use De Morgan's Laws? Thanks again, gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN