-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 .

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).