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