Setlocalename Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
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.
* first line of DDL source schema
?SECTION employee-files
.
.
.
?SECTION sales-files
.
.
.
?SECTION employee-files
.
.
.
* last line of DDL source schema

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.
SETLOCALENAME [ locale-name ]
locale-name
specifies a language, territory, and character set for a text item. If not specified, the
default system locale is used. See
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.
Data Definition Language (DDL) Reference Manual—426798-002
Sales files section
Section 6, Definition
9- 95
SETLOCALENAME Command
employee files section
VST925.vsd
Attributes, for complete

Advertisement

Table of Contents
loading

Table of Contents