Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 16
MUST BE Clause
°
no_NO.ISO8859-1
Norwegian
°
pt_PT.ISO8859-1
Portuguese
°
sv_SE.ISO8859-1
Swedish
°
tr_TR.ISO8859-9
Turkish
°
zh_TW.eucTW
Taiwanese, EUC
LN Clause Example
The following is an example of the LN clause:
DEFINITION custnum PIC 9(4).
HEADING "Finnish" LN"fi_FI.ISO8859-1"
"Norwegian" LN"no_NO.ISO8859-1"
"Danish" LN"da_DK.ISO8859-1".
MUST BE Clause
The MUST BE clause specifies the set of valid values that can be entered into a field.
DDL ignores the MUST BE clause when generating host-language source code.
value
specifies a valid value to be entered in a field. If value-1 and value-2 are specified,
value-1
must be less than or equal to value-2. The form of value can be any of
the following:
"character-string"
constant-name
figurative-constant
national-literal
number
symbolic-literal
value-name
"character-string"
is a string of ASCII characters enclosed in quotation marks. To represent an
ASCII quotation mark character (") within the string, use two consecutive
quotation marks ("").
constant-name
is the name of a constant in the open DDL dictionary. The constant value must
be a valid MUST BE value but cannot be a figurative constant or symbolic
literal.
MUST BE {value }
{value-1 {THROUGH} value-2}
{ {THRU } }