Data Definition Language (DDL) Reference Manual

Definition Attributes
Data Definition Language (DDL) Reference Manual529431-004
6-77
VALUE
number
is 1 or more digits (0 through 9), an optional leading 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 a figurative constant from Table 6-4 on page 6-17.
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 a symbolic literal from Table 6-5 on page 6-17. Use symbolic literals only for
numeric items.
The DDL compiler replaces symbolic-literal with the appropriate literal
for COBOL output.
value-name
is the value-name in the clause 89 Enumeration on page 6-85.
NOVALUE
suppresses any VALUE clauses in a definition referenced by another definition.
An initial value must be compatible with the data type of the field or group for which it is
declared.
An initial value declared at the group level must be alphanumeric.
A numeric value must be in the range of values specified by the receiving PICTURE
string.
If used with MUST BE, an initial value must be in the range of values specified by the
MUST BE string.
Note. Use NOVALUE only for a field or group defined with a TYPE clause.