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

Initializing variables

Initializing AUTOMATIC
Initializing BASED
Initializing CONTROLLED
Initializing STATIC

You must not use a variable before it has been initialized. Any program that uses an uninitialized variable is invalid and must be corrected. The best way to correct such code is to add the INITIAL attribute to those variables that need it. However, there are also some other ways to initialize your variables, and the rest of this subsection discusses them.


Terms of use | Feedback

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