initialized

Setting the initialized property to YES ensures that the contents of the variable are set to an empty state, or to an initial condition if you have specified that condition. This property is useful only for COBOL programs, as Java™ programs perform these actions automatically when the program is loaded.

For primitive variables, use an initializer in the declaration, as in the following example:
myVar INT = 0;
The only logical use for this property is to ensure that variables in non-structured COBOL records are set to empty values.

Compatibility

Table 1. Support for initialized property
Data item JSF handler VGUI record Console UI Text Form Java Text Form COBOL Print Form Java Print Form COBOL
Yes Yes No No No No No No

Feedback