Data Definition Language (DDL) Reference Manual
Definition Attributes
Data Definition Language (DDL) Reference Manual—529431-004
6-82
88 Condition-Name
88 Condition-Name
For DDL and COBOL source code, a level-88 condition-name clause associates a
condition name with a value, list of values, or range of values, enabling you to refer to
the value or values by the condition name.
88
is the level number of the condition-name clause.
condition-name
is a unique name.
value
{ { "character-string" } [ LN clause ] }
{ { constant-name } }
{ { national-literal } }
{ { number } }
{ }
{ figurative-constant }
{ sql-datetime-literal }
{ sql-interval-literal }
{ symbolic-literal }
{ value-name }
character-string
is a string of ASCII characters.
constant-name
is the name of a constant in the open dictionary. The constant value must not
be a figurative constant (see Table 6-4
on page 6-17) or symbolic literal (see
Table 6-5
on page 6-17), and must be a valid condition-name value.
national-literal
is a national literal whose length is consistent with the length specified in the
PICTURE clause for the national data item.
Note. The DDL compiler ignores this clause when generating source code for languages other
than DDL and COBOL.
88 condition-name { VALUE [ IS ] }
{ VALUES [ ARE ] }
{ value } [, value ]
{ } [ ]
{ value { THROUGH } value } [, value { THROUGH } value ]
{ { THRU } } [ { THRU } ] ...