Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 17
MUST BE Clause
figurative-constant
is a constant that the DDL compiler has prenamed and predefined. You need
not enclose the constant in quotation marks. Singular and plural forms are
equivalent in meaning. The figurative constants are listed in
Table 6-3
on
page 6-17.
national-literal
is a national literal of the following form:
{N}{"2-byte character..."}
{n}{‘2-byte character...’}
Each
2-byte-character
must be 2 bytes in length internally; the first byte
cannot contain the binary equivalent of a quotation mark. Do not separate the
N (or n) and the opening quotation mark with a space or a line break.
The length of a national literal in a MUST BE clause must agree with the length
specified in the PICTURE clause for the national data item.
number
is one or more digits (0 to 9), an optional plus or minus sign, and an optional
decimal point. The value must not be enclosed in quotation marks.
symbolic-literal
is a literal that the DDL compiler has prenamed and predefined. DDL replaces
symbolic-literal
with the appropriate literal for COBOL output. You can
Table 6-3. Figurative Constants
Figurative Constant
Value
LOW-VALUE
LOW-VALUES
One or more of the lowest character in the ASCII or national
collating sequence
HIGH-VALUE
HIGH-VALUES
One or more of the highest character in the ASCII or
national collating sequence
QUOTE
QUOTES
One or more of the ASCII or national quotation mark
character
SPACE
SPACES
One or more of the ASCII or national space character
(blank)
ZERO
ZEROS
ZEROES
The numeric value 0 or, depending on the context, one or
more of the ASCII or national zero character
ALL
literal
literal
A repeated literal; the literal can be an ASCII character
string, a national literal, or a figurative constant other than
ALL. When a figurative constant is used, the word ALL is
unnecessary.
Содержание 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 ...