-laxif / -nolaxif
Determines whether the compiler allows or diagnoses IF, WHILE, UNTIL, and WHEN clauses that are not of type BIT(1), and whether to allow or flag assignments of the form A=B=C .
Rocket® Enterprise Suite products provide a proprietary run-time engine to enable compatibility for customers’ IBM® CICS® applications. IBM and CICS are registered trademarks of International Business Machines Corp. Rocket Enterprise Suite products do not include an IBM CICS engine and are not affiliated with IBM. Further information can be found here.
Syntax
-laxif
-nolaxif
Behavior
- -laxif
- The compiler allows IF, WHILE, UNTIL, and WHEN clauses that are not of type BIT(1). In this case the expression is converted to type BIT according to conversion rules. It also causes the compiler to allow assignments of the form A=B=C.
- -nolaxif
- The compiler diagnoses IF, WHILE, UNTIL, and WHEN clauses that are not of type BIT(1). It also causes the compiler to flag assignments of the form A=B=C.
Default
-laxif
Dependencies
The following compiler options imply
-nolaxif:
-cics-sql-dli-mvs-ims
To override this for the above-referenced compiler options, set them in combination with
-laxif.
Comments
The form A=B=C can be mistaken for a multiple right-to-left assignment in some circumstances.
The form A=B=C is equivalent to the form A=(B=C).