Data Definition Language (DDL) Reference Manual

Definition Attributes
Data Definition Language (DDL) Reference Manual529431-004
6-83
88 Condition-Name
number
is 1 or more digits (0 through 9), an optional plus or minus sign, and an
optional decimal point.
LN-clause
specifies the locale name for value (see LN on page 6-13).
figurative-constant
is any figurative constant listed with the clause VALUE on page 6-76.
sql-datetime-literal
is a DATETIME, DATE, TIME, or TIMESTAMP value in ANSI, USA, or
EUROPEAN format. For details, see the SQL/MP Reference Manual or
SQL/MX Reference Manual.
sql-interval-literal
is a character string that conforms to the rules for a NonStop SQL/MP interval
literal. For details, see the SQL/MP Reference Manual or SQL/MX Reference
Manual.
symbolic-literal
is any symbolic literal listed with the clause VALUE on page 6-76.
value-name
is the value-name in the clause 89 Enumeration on page 6-85.
The syntax for a DDL level-88 clause differs from a COBOL level-88 clause only in its
punctuation; DDL requires commas between values or sets of values, whereas
COBOL does not.
The rules for the VALUE clause apply to the VALUE portion of a level-88 clause.
One or more condition-name clauses can follow the definition attribute clauses in a
field definition or description. Condition-name clauses cannot directly follow a group
definition or description.
Values of different condition names can overlap, so it is possible for several condition
names to have the same value.
A single-field definition that has one or more level-88 clauses must also have BEGIN
before the first period and END after the last clause.
In Example 6-68
on page 6-84, the values in ADDR-CODE are associated with
condition names.