Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

Table 14 Localization Environment Variables
Meaning and defaultVariable
The locale of your shell, which consists of a language, territory, and code set.LANG
The default locale is the C locale.
The default language is English.
The default code set is ASCII.
The default territory is US.
The default code set is ASCII.
The behavior for all aspects of the locale, unless overridden by another variable.LC_ALL
The collating sequence. The default value is C/POSIX.LC_COLLATE
The character classification information. The default value is C/POSIX.LC_CTYPE
The language for shell messages. The default value is C/POSIX.LC_MESSAGES
The monetary format for your shell. The default value is C/POSIX.LC_MONETARY
The numeric format for your shell. The default value is C/POSIX.LC_NUMERIC
The time format for your shell. The default value is C/POSIX.LC_TIME
Table 15 (page 239) lists all the locales released as part of the OSS product set. An additional
locale, GB18030, is provided for use only within the vi_gb18030 and print_gb18030 utilities;
see the online reference pages vi_gb18030(1) and print_gb18030(1) for more information.
You can create a unique locale for your server node by using the following tools from the command
line of an OSS shell:
dspcat
dspmsg
gencat
genxlt
iconv
locale
mkcatdefs
runcat
Before using these tools, you must change the following entry in the EDIT file
$SYSTEM.SYSTEM.UNISTDH and the OSS text (header) file /usr/include/unistd.h:
#undef _POSIX2_LOCALEDEF /* no support for the creation of locales */
to say:
#define _POSIX2_LOCALEDEF 1 /* New locales allowed */
This change might need to be made again after any software product revision or release version
update is installed.
For further information, see the sh(1), locale(1), and locale(4) reference pages either
online or in the Open System Services Shell and Utilities Reference Manual and see the Software
Internationalization Guide.
Table 15 Locale Names and Filenames
Filename for locale definitionLanguage of locale
da_DK.ISO8859-1Danish
nl_NL.ISO8859-1Dutch, Netherlands
nl_BE.ISO8859-1Dutch (Belgian), Belgium
en_GB.ISO8859-1English, Great Britain
en_US.ISO8859-1English, USA
Customizing the OSS Shell 239