Must Be Clause - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Definition Attributes
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

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.
MUST BE {value
{value-1 {THROUGH} value-2}
{
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.
Data Definition Language (DDL) Reference Manual—426798-002
PIC 9(4).
HEADING
"Finnish" LN"fi_FI.ISO8859-1"
"Norwegian" LN"no_NO.ISO8859-1"
"Danish" LN"da_DK.ISO8859-1".
{THRU
}
6- 16
}
}
MUST BE Clause

Advertisement

Table of Contents
loading

Table of Contents