DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 95
SETLOCALENAME Command
SECTION Command Example
The following source file has two sections: SALES-FILES and EMPLOYEE-FILES.
Note that the EMPLOYEE-FILES section is made up of two portions of the source
schema separated by the SALES-FILES section.
SETLOCALENAME Command
The SETLOCALENAME command specifies the language, territory, and character set
for output of text items. When a programming language file is generated, the value
associated with the specified locale will be output for each text item.
locale-name
specifies a language, territory, and character set for a text item. If not specified, the
default system locale is used. See
Section 6, Definition Attributes
, for complete
information on specifying locales.
SETLOCALENAME Command Guidelines
The following points are guidelines for using the SETLOCALENAME command:
•
If multiple SETLOCALENAME commands are issued, the last one issued is
in effect.
•
The SETLOCALENAME command can be set anytime. Different locales can be
used when generating a programming language source program.
•
If there is not a text item with a locale name that matches the one given in the
SETLOCALENAME command, an error occurs.
•
If there is more than one literal specified with the same locale name for a text item,
an error occurs. The literal with the duplicate locale name is ignored.
SETLOCALENAME [ locale-name ]
* first line of DDL source schema
?SECTION employee-files
.
.
.
?SECTION sales-files
.
.
.
?SECTION employee-files
.
.
.
* last line of DDL source schema
Sales files section
employee files section
VST925.vsd
Содержание 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 ...