Definitions and Records
Data Definition Language (DDL) Reference Manual — 426798-002
5- 21
Key Assignment Syntax
89 enumeration clause
associates a name with a specified or default enumeration value and, optionally,
specifies a display string for the value.
66 RENAMES clause
renames a previously declared field, group, or set of fields or groups, only for
COBOL or DDL source code.
Key Assignment Syntax
The following syntax is used to define key assignments.
KEY [ key-specifier | constant-name ]
IS { group-name | field-name }
defines a field or group of fields as an Enscribe key and assigns a key specifier to
the key.
key-specifier
is either an integer from -32,768 to 32,767 or two ASCII characters enclosed in
quotation marks. The key specifier can be omitted for a primary key; if
included, the key specifier must be 0. A nonzero key specifier indicates an
alternate key.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must
be a valid
key-specifier
value.
{ group-name | field-name }
identifies a group or field used as a primary or alternate key, or as a sequence
field. If not unique within the dictionary, the name must be qualified to make it
unique. The general form of a qualified group or field name is:
[record-name.][group-name.]...{ group-name | field-name }
KEY [ key-specifier | constant-name ]
IS { group-name | field-name }
[ FILE IS ["]file-name["] ]
[ DUPLICATES [ NOT ] ALLOWED ] . ] ...
[ UPDATE [ NOT ] ALLOWED ]
[ SEQUENCE IS [ ASCENDING | DESCENDING ]
{ group-name | field-name } . ]
Содержание 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 ...