-laxbased / -nolaxbased

Determines storage checking of BASED variables.

Syntax

-laxbased
-nolaxbased

Behavior

-laxbased
Disables storage checking of BASED variables.
-nolaxbased
For BASED variables declared using the form BASED (ADDR(x), enables storage checking with the base reference x.

Default

-laxbased

Dependencies

The following compiler options imply -nolaxbased:

  • -cics
  • -sql
  • -dli
  • -mvs
  • -ims

To override this for the above-referenced compiler options, set them in combination with -laxbased.

Example

When -nolaxbased is set:

DCL X FIXED BIN (15); DECLARE Y FIXED BIN (31) BASED (ADDR(X));

Results in an appropriate diagnostic.