ILE C/C++ Programmer's Guide


Creating Locales

On iSeries systems, *LOCALE objects are created with the CRTLOCALE command, specifying the name of the file member containing the locale's definition source, and the CCSID to be used for mapping the characters of the locale's character set to their hexadecimal values.

A locale definition source member contains information about a language environment. This information is divided into a number of distinct categories which are described in the next section. One locale definition source member characterizes one language environment.

Characters are represented in a locale definition source member with their symbolic names. The mapping between the symbolic names, the characters they represent, and their associated hexadecimal values is based on the CCSID value that is specified on the CRTLOCALE command.

Here is a model of how a locale of type *LOCALE is created:



Creation of a locale of type *LOCALE

Note:
There is no support for locales created with non-EBCDIC CCSIDs.


[ Top of Page | Previous Page | Next Page | Table of Contents ]