Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


VALUE clause

The VALUE clause specifies the initial contents of a data item or the values associated with a condition-name. The use of the VALUE clause differs depending on the data division section in which it is specified.

A VALUE clause that is used in the file section or the linkage section in an entry other than a condition-name entry is syntax checked, but has no effect on the execution of the program.

In the working-storage section and the local-storage section, the VALUE clause can be used in condition-name entries or in specifying the initial value of any data item. The data item assumes the specified value at the beginning of program execution. If the initial value is not explicitly specified, the value is unpredictable.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)