DBLANG environment variable

Use the DBLANG environment variable to specify the subdirectory of $INFORMIXDIR or the full pathname of the directory that contains the compiled message files that HCL OneDB™ products use.


1  setenv DBLANG
2.1 relative_path
2.1 full_path
relative_path
is a subdirectory of $INFORMIXDIR.
full_path
is the pathname to the compiled message files.

By default, HCL OneDB products put compiled messages in a locale-specific subdirectory of the $INFORMIXDIR/msg directory. These compiled message files have the file extension .iem. If you want to use a message directory other than $INFORMIXDIR/msg, where, for example, you can store message files that you create, you must perform the following steps:

To use a message directory other than $INFORMIXDIR/msg

  1. Use the mkdir command to create the appropriate directory for the message files.

    You can make this directory under the directory $INFORMIXDIR or $INFORMIXDIR/msg, or you can make it under any other directory.

  2. Set the owner and group of the new directory to informix and the access permission for this directory to 755.
  3. Set the DBLANG environment variable to the new directory. If this is a subdirectory of $INFORMIXDIR or $INFORMIXDIR/msg, then you need only list the relative path to the new directory. Otherwise, you must specify the full pathname of the directory.
  4. Copy the .iem files or the message files that you created to the new message directory that $DBLANG specifies.

    All the files in the message directory should have the owner and group informix and access permission 644.

HCL OneDB products that use the default U.S. English locale search for message files in the following order:
  1. In $DBLANG, if DBLANG is set to a full pathname
  2. In $INFORMIXDIR/msg/$DBLANG, if DBLANG is set to a relative pathname
  3. In $INFORMIXDIR/$DBLANG, if DBLANG is set to a relative pathname
  4. In $INFORMIXDIR/msg/en_us/0333
  5. In $INFORMIXDIR/msg/en_us.8859-1
  6. In $INFORMIXDIR/msg
  7. In $INFORMIXDIR/msg/english

For more information about search paths for messages, see the description of DBLANG in the HCL OneDB GLS User's Guide.