Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

INITAUTO

The INITAUTO option directs the compiler to add an INITIAL attribute to any AUTOMATIC variable declared without an INITIAL attribute.

Read syntax diagramSkip visual syntax diagram   .-NOINITAUTO-.
>>-+-INITAUTO---+----------------------------------------------><
 

Under INITAUTO, the compiler adds an INITIAL attribute to an AUTOMATIC variable that does not have an INITIAL attribute according to its data attributes:

The compiler will not add an INITIAL attribute to variables with other attributes.

INITAUTO will cause more code to be generated in the prologue for each block containing any AUTOMATIC variables that are not fully initialized (but unlike the DFT(INITFILL) option, those variables will now have meaningful initial values) and will have a negative impact on performance.

The INITAUTO option does not apply an INITIAL attribute to any variable declared with the NOINIT attribute.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)