Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
5-20
VALUE Clause
Declaration of a group item as COMPUTATIONAL implies that all subordinate items in
the group are COMPUTATIONAL. The group item itself cannot be used in
computations.
A DISPLAY item has a value that is stored in the standard data format as a sequence
of ASCII characters. The characteristics of the item are given in the PICTURE string.
If the PICTURE string of a numeric item contains an S symbol, the item has an
operational sign. If a SIGN IS SEPARATE clause is not specified, the operational sign
is maintained as part of either the leading or trailing digit; the affected character
position will contain a nondigit ASCII character.
VALUE Clause
A VALUE clause specifies the initial value of a Working-Storage item or the value of a
level 88 condition name.
Format 1 (Data Initialization) is:
literal
is the initial value to be assigned to a data item. The value can be a figurative
constant.
Format 2 (Condition Name Entries) is:
condition-name
is the name of the condition value.
value-1
is either a single literal value or the first of a range of literal values tested by the
condition.
value-2
is the final literal value in a range of literal values tested by the condition. The
value must be greater than
value-1
.
VALUE [ IS ]
literal
88
condition-name
, { VALUE [ IS ] }
{ VALUES [ ARE ] }
{
value-1
[ { THROUGH }
value-2
] } , ...
{ [ { THRU } ] }










