Named Constants
Data Definition Language (DDL) Reference Manual — 426798-002
4 -2
CONSTANT Statement
"string"
specifies the value of a string constant; string is a string of from 1 to 130 ASCII
characters.
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. You cannot separate the
N or n and the opening quotation mark with a space or a line break.
existing-constant
is the name of an existing constant whose value is consistent with the type of the
constant being defined.
"version"
specifies the value of a version constant; version is an ASCII string with three
characters of the form ann, in which a is any letter of the alphabet and nn is a 2-
digit number. DDL treats the letter as uppercase whether you specify it as
uppercase or lowercase. DDL translates the version string into a version number.
LN clause
specifies the locale associated with a value. See
LN Clause
on page 6-14 for
complete information.
TYPE type
specifies the type of a numeric constant; type is one of the following types:
BINARY [ 16 ] [ UNSIGNED ]
BINARY 32 [ UNSIGNED ]
BINARY 64
If the TYPE clause is omitted, the type is BINARY 16.
You can put the TYPE clause either before or after the VALUE clause.
You cannot use the TYPE clause when the VALUE clause includes "
string
" or
"
version
".
Содержание 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 ...