COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
VALUE clause
is as described in VALUE Clause. Do not use the VALUE clause with INDEX.
BASED clause
is as described in BASED Clause. Do not use the BASED clause with the EXTERNAL clause or
the REDEFINES clause.
Descriptions of Condition-Names for Values (Level 88)
You can assign a name to a specific value, set of values, or range of values that a data item can
have and use that name as a condition in a conditional statement. The name is called a
condition-name, and the data item associated with it is called a conditional variable.
To do this, you must put one or more level-88 items (each including a condition-name and a VALUE
clause specifying a value or a range of values for that condition-name) immediately after the data
description of the conditional variable. You can put level-88 items in any section of the Data
Division.
condition-name
is the name of the condition value.
value-1
is a literal. It is either a single value or the first in a range of values tested by the condition.
value-2
is a literal and is the final value in a range of values tested by the condition.
224 Data Division










