Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 87
88 Condition-Name Clause
symbolic-literal
value-name
"character-string"
is a string of ASCII characters enclosed in quotation marks.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must
be a valid condition-name value but cannot be a figurative constant or symbolic
literal.
figurative-constant
is any figurative constant listed with the VALUE clause.
national-literal
is a national literal of the following form:
{ N | n }
{ "2-byte-character..." | "2-byte-character..." }
Each
2-byte-character
must be 2 bytes in length internally; the first byte
cannot contain the binary equivalent of a quotation mark. Do not separate the
N (or n) and the opening quotation mark with a space or a line break.
The length of a national literal must agree with the length specified in the
PICTURE clause for the national data item.
number
is 1 or more digits (0-9), an optional plus or minus sign, and an optional
decimal point. The value need not be enclosed in quotation marks.
symbolic-literal
is any symbolic literal listed with the VALUE clause.
value-name
is the name associated with a value in a level 89 enumeration clause for a field
of type ENUM. You can use
value-name
only for a field of type ENUM, and
you must use
value-name
for an ENUM field.
LN clause
specifies the locale associated with a value.
Condition-Name Clause Guidelines
The following points are guidelines for using the condition-name clause: