Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 14
LN Clause
KEYTAG Clause Example
The PARTINFO record structure is described within the RECORD statement. KEYTAG
clauses, rather than
key-assignment
statements, specify the primary key PARTNUM
and the alternate key PARTNAME in the following example:
CONSTANT partnum-heading VALUE IS "Part/Number".
CONSTANT partnum-display VALUE IS "M<ZZZ,ZZ9.99>".
RECORD partinfo.
FILE IS "$data.sales.parts" KEY-SEQUENCED.
02 partnum PIC 9(4) KEYTAG 0
HEADING partnum-heading.
02 partname PIC X(18) KEYTAG "pn".
02 inventory PIC 9(3)S.
02 location PIC X(3).
02 price PIC 9(6)V99 DISPLAY partnum-display.
END
LN Clause
The LN clause specifies the language, territory, and character set for a text item.
value
specifies the value associated with the clause containing the locale name. See the
other clause descriptions in this section for more information.
locale-name
either of the following:
constant-name
specifies a DDL name for a constant, as previously defined in the DDL
dictionary. The name cannot be the same as a DDL keyword or reserved word.
LN"string"
specifies the value of a string constant;
string
is a string of from 1 to 130
ASCII characters in the following form:
language-code[_territory-code][.charset]
language-code
is a character string forming a language symbol.
{ [value locale-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 ...