Home | Previous Page | Next Page   GLS Environment Variables > GLS-Related Environment Variables >

DBLANG

The DBLANG environment variable specifies the subdirectory of INFORMIXDIR that contains the customized, language-specific message files that an IBM Informix product uses.

Read syntax diagramSkip visual syntax diagram>>-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:

  1. If DBLANG is set to a full_path: the directory that full_name indicates
  2. If DBLANG is set to a relative_path:
    1. In $INFORMIXDIR/msg/$DBLANG on UNIX or %INFORMIXDIR%\msg\%DBLANG% on Windows
    2. In $INFORMIXDIR/$DBLANG on UNIX or %INFORMIXDIR%\%DBLANG% on Windows
  3. 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.

  4. 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:
  5. If DBLANG, CLIENT_LOCALE, and LANG are not set:
    1. 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
    2. 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 ]