-initcheck / -noinitcheck

Determines whether diagnostic warnings are reported for possibly uninitialized automatic variables at first use within the given procedure.

Syntax

-initcheck
-noinitcheck

Behavior

-initcheck
Enables diagnostic warnings for possibly uninitialized automatic variables at first use within the given procedure.
-noinitcheck
Disables diagnostic warnings for possibly uninitialized automatic variables at first use within the given procedure.

Default

-noinitcheck

Dependencies

The following compiler options imply -initcheck:

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

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