The VALUE clause defines the value of constants, the initial value of working storage and local storage items, and the values associated with a condition name.
The VALUE clause may be used with
external floating-point data items.
Format 2 may be used to define a
condition-variable associated with an external floating-point data item.
If the item is numeric edited, the
value can be a numeric literal or a nonnumeric literal. If the value is a
numeric literal, the value contained in the item will be the same as if the
numeric literal were moved to the numeric edited item.
and Local-Storage
Section,
the VALUE clause can be used to specify the initial value of a data item, in which case the clause causes the item to assume the specified value at the time the runtime element is placed into its initial state. If the VALUE clause is not used in an item's description, the initial value of that data item is undefined.
and Local-Storage Section,
the VALUE clause can be used in data item entries, but it takes effect only when an INITIALIZE statement that applies to the entries is executed.
If a VALUE clause is associated with the data item referenced by a DEPENDING ON phrase, that value is considered to be placed in the data item after the variable occurrence data item is initialized.