Staffan, I believe you only need to use the AND option for each of the
fields you select. The field at 156 is also ANDed. However, because you
specify 'IN'; the generator should created the OR logic within. I tried
to do the same as you, and have created
INCLUDE COND=((5,1,CH,EQ,C'X'),
AND,
(156,8,CH,EQ,C'SHELF'),
AND,
((164,8,CH,EQ,C'VLT1'),
OR,
(164,8,CH,EQ,C'DR2H'),
OR,
(164,8,CH,EQ,C'DR8H'),
OR,
(164,8,CH,EQ,C'DR8A'),
OR,
(164,8,CH,EQ,C'DR8B'),
OR,
(164,8,CH,EQ,C'DR8C')),
AND,
(1326,5,CH,LT,C' 2'))
If this is the wrong parenthesis we will have to update the generator to
fix it.
Mike Wood RMM Development
On Thu, 27 Oct 2005 04:39:54 -0500, Staffan Tylen <[EMAIL PROTECTED]
CONSULTING.COM> wrote:
>Thanks gentlemen, I think the boolean logic is wrong and explains why
things
>go wrong. The JCL and control stmts were, as already mentioned, generated
>using the RMM ISPF function, but this function doesn't support generating
>the required logic, as it accepts only the following conjugation
operators:
>
>AND
>OR
>AND(
>)AND
>
>To correct the problem using RMM ISPF I guess I would need to be able to
>code OR( and ) or something similar for the values in pos 156. But until
>that is possible, I'll just correct the JCL stream itself.
>Thanks, 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