CWWBQ0746E   Type mismatch: found operand ''0'' but expected boolean value when comparing this operand against attribute ''1'' of query table ''2''.

Explanation

Operand must be compatible with a boolean when comparing this operand against the specified attribute which is of type boolean.

User response

Correct the operand in the query table condition to be a boolean value.