Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-97
SETLOCALENAME
SETLOCALENAME
The SETLOCALENAME command specifies the language, territory, and character set
for output of text items.
locale-name
specifies a language, territory, and character set for a text item.
Default: default system locale
When a programming language file is generated, the value associated with the
specified locale will be output for each text item.
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.
Example 9-49
on page 9-98 shows the use of the SETLOCALENAME command to
generate output for text items in French.
Figure 9-1. SECTION Command
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