Data Definition Language (DDL) Reference Manual
Definition Attributes
Data Definition Language (DDL) Reference Manual—529431-004
6-15
MUST BE
A text item is any text associated with an object. A text item has one of these types:
A maximum of 32 internationalization (I18N) definitions are allowed per text item. If
more than 32 I18N definitions are associated with one text item, an error occurs. The
additional I18N definitions are not added to the dictionary.
MUST BE
The MUST BE clause specifies the set of valid values that can be entered in a field.
value
value-1
value-2
is a value consistent with the data type of the field. value-1 must be less than or
equal to value-2.
Type Description
Number ASCII representation of a numeric literal in a VALUE or MUST BE clause
String Alphanumeric string in a COMMENT, DISPLAY, HEADING, HELP, MUST
BE, PICTURE, or VALUE clause
Keyword Keyword in a MUST BE or VALUE clause
Enumeration Name of a value in a level 89 enumeration clause
National National string in a MUST BE or VALUE clause
International Internationalized text items in an 88 Condition-Name, AS, HEADING, or
VALUE clause
Example 6-12. LN Clause
In CONSTANT Statement
CONSTANT Saga-Language VALUE "Icelandic" LN"is_IS.ISO8859-1"
In HEADING Clause (3)
DEFINITION custname PIC 9(4).
HEADING "Finnish" LN"fi_FI.ISO8859-1"
"Norwegian" LN"no_NO.ISO8859-1"
"Danish" LN"da_DK.ISO8859-1".
Note. The DDL compiler ignores this clause when generating host-language source code.
MUST BE { value }
{ value-1 { THROUGH | THRU } value-2 }