Configuring the DB2 infrastructure

Before creating the HCL Docs databases, you must complete these steps to ensure that the data will be stored in UTF-8 format.

Configuring DB2® for Unicode on Linux

  1. Open a terminal window on the IBM® DB2® server.
  2. Change to the DB2 admin user, for example, db2admin:

    su – db2admin

  3. Run the following commands:
    • db2set DB2CODEPAGE=1208
    • db2stop force
    • db2start
  4. Check the configuration with the following command:

    db2set

Configuring DB2® for Unicode on Windows

If you are logged in as an existing user, go to the start menu and select the option to switch users (arrow option next to the Log off button).
  1. Log in to the server as a DB2® administrator (db2admin).
  2. Open a db2cmd window on the IBM® DB2® server.
  3. Run the following commands:
    • db2set DB2CODEPAGE=1208
    • db2stop force
    • db2start
  4. Check the configuration with the following command:

    db2set