Home |
Previous Page | Next Page GLS Environment Variables > GLS-Related Environment Variables >
The DBLANG environment variable
specifies the subdirectory of INFORMIXDIR that contains
the customized, language-specific message files
that an IBM Informix product uses.

>>-DBLANG--+-relative_path-+-----------------------------------><
+-full_path-----+
'-locale_name---'
- Element
- Description
- relative_path
- Subdirectory of the Informix installation directory (which INFORMIXDIR specifies)
- full_path
- Full pathname of the directory that contains the compiled message
files
- locale_name
- Name of a GLS locale that has the format lg_tr.code_set,
where lg is a two-character name that represents
the language for a specific locale, tr is
a two-character name that represents the cultural conventions, and code_set is
the name of the code set that the locale supports
IBM Informix products locate product-specific message files in
the following order:
- If DBLANG is
set to a full_path: the directory that full_name indicates
- If DBLANG is set to a relative_path:
- In $INFORMIXDIR/msg/$DBLANG on UNIX or %INFORMIXDIR%\msg\%DBLANG% on Windows
- In $INFORMIXDIR/$DBLANG on UNIX or %INFORMIXDIR%\%DBLANG% on Windows
- If DBLANG is set to a locale_name:
the msg subdirectory for the locale in $INFORMIXDIR/msg/lg_tr/code_set on UNIX systems
or %INFORMIXDIR%\msg\lg_tr\code_set on Windows,
where lg, tr,
and code_set are the language, territory,
and code set, respectively, in locale_name.
The value of DBLANG does not affect the
messages that the database server writes to its message log. The
database server obtains the locale for these messages from the SERVER_LOCALE environment
variable.
- If DBLANG is not set:
the msg subdirectory for the locale in $INFORMIXDIR/msg/lg_tr/code_set on UNIX systems
or %INFORMIXDIR%\msg\lg_tr\code_set on Windows,
where lg and tr are the
language and territory, respectively, from the locale that is associated with
the IBM Informix product, and code_set is
the condensed name of the code set that the locale supports:
- For IBM Informix client products: lg and tr are
from the client locale (from CLIENT_LOCALE, if
it is set)
- For Informix database server products: lg and tr are
from the server locale (from SERVER_LOCALE,
if it is set)
- If DBLANG, CLIENT_LOCALE,
and LANG are
not set:
- In $INFORMIXDIR/msg/en_us/0333 on UNIX systems
or %INFORMIXDIR%\msg\en_us\0333 on Windows,
an internal message directory for the default locale
- In $INFORMIXDIR/msg on UNIX systems
or %INFORMIXDIR%\msg on Windows,
the default Informix message directories
The compiled message files
have the .iem file
extension.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]