Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 18
MUST BE Clause
use symbolic literals only for numeric items. The symbolic literals are shown in
Table 6-4
on page 6-18.
value-name
is the name associated with a value in a level 89 enumeration clause for a field
of type ENUM.
MUST BE Clause Guidelines
The following points are guidelines for using the MUST BE clause:
•
Values specified with a MUST BE clause must be consistent with the data type of
the field.
•
When a constant name is the MUST BE value, the constant value must be
consistent with the type of the data item and with the type of any associated level
88 data item.
•
A MUST BE clause cannot be specified for a group item. A MUST BE clause can
be specified for individual fields within the group, as long as the group does not
have an initial value.
•
If a field described with a MUST BE clause also has a VALUE clause, the initial
value specified in the VALUE clause must satisfy the MUST BE constraints.
•
If a field described with a MUST BE clause also has an UPSHIFT clause, the
MUST BE values must be upshifted.
•
If a field described with a MUST BE clause is of type ENUM, the values in the
clause can only be level 89 enumeration names.
•
You can specify only one MUST BE clause for a field.
•
You cannot specify a MUST BE clause in a field or group definition or description
that includes a REDEFINES clause.
•
You cannot specify a MUST BE clause for SQL DATE, SQL TIME, SQL
DATETIME, or SQL INTERVAL fields.
•
You cannot specify CURRENT, SYSTEM, or SQLNULL as a value for a MUST BE
clause.
Table 6-4. Symbolic Literals
Symbolic Literal
Value
LOW-NUMBER
The minimum numeric value of the type specified for
this field
HIGH-NUMBER
The maximum numeric value of the type specified for
this field
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...