Staffan, I specified nothing for the 'Conjunction, just took the default which is that ALL field/value combinations must be true for a record to be included. S Field name Op Compare value(s) Conj Len Typ - -------------------- -- --------------------------------------- ---- --- --- RXTYPE EQ X 1 C XVSTORID EQ SHELF 8 C XVDEST IN VLT1,DR2H,DR8H,DR8A,DR8B,DR8C 8 C XDDSNSEQ LT ' 2' 5 C I expect that the order in which you/I selected the fields is the order in which the INCLDUE is built. The AND(a,OR,b,OR,c....) is created because of the 'Op' value set to IN. I have just retried the report with XVDEST last as you had it, and the INCLUDE statement is correct. Please try again without trying to build your own selection logic.
Mike Wood RMM Development On Thu, 27 Oct 2005 07:19:11 -0500, Staffan Tylen <[EMAIL PROTECTED] CONSULTING.COM> wrote: >Mike, I think you've done exactly what I tried out, namely to place one of >the ANDs after the OR sequence. And it seems to work. But, using the >conjunction operators available in RMM, how would you then, in ISPF, code >for example "A and (B or C)"? >Staffan ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html