A relational expression or indicator is expected for logical operations.
30
Cause . . . . . : Operation codes DOU, DOW, IF, and WHEN require an expression that returns a result of type indicator. The specification is ignored.
Recovery . . . : Specify an indicator or an expression that returns an indicator type result for operations DOU, DOW, IF, and WHEN. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.