DB2 Version 9.7 for Linux, UNIX, and Windows

Setting the locale for the DB2 administration server (DAS)

The locale of the DAS and the locale of the DB2® instance must be compatible. Otherwise, the DB2 instance cannot communicate with the DB2 administration server.

Procedure

  1. Ensure that the locale of the DAS instance is compatible with the locale of the DB2 instance. For example, on a Simplified Chinese Linux system, LANG=zh_CN should be set in the DB2 Administration Server's user profile.
  2. Set the LANG environment variable to the desired locale.
    • If the LANG environment variable is not set in the user profile of the DB2 Administration Server, the DB2 Administration Server will be started with the default system locale.
    • If the default system locale is not defined, the DAS will be started with code page 819.
    • If the DB2 instance uses one of the DBCS locales, and the DB2 administration server is started with code page 819, the instance will not be able to communicate with the DASr.