Home | Previous Page | Next Page   Environment Variables > Using Environment Variables on Windows >

Environment Settings for Native Windows Applications

IBM Informix native Windows applications, such as the database server itself, store their configuration information in the Windows registry. To modify this information, you must use the Registry Editor, regedt32.exe.

Important:
In order to use the Registry Editor to change database server environment variables, you must belong to either the Administrators or Informix-Admin groups. For information on assigning users to groups, see your operating-system documentation.
To manipulate environment variables with the Registry Editor
  1. Launch the Registry Editor, regedt32.exe, and choose the window titled HKEY_LOCAL_MACHINE.
  2. In the left pane, double-click the SOFTWARE registry key (shown as a small, yellow file folder icon).

    The SOFTWARE registry key expands to show several subkeys, one of which is Informix. Continue down the tree in the following sequence:

    OnLine, dbservername, Environment.

    Substitute the name of your database server for dbservername.

  3. With the Environment registry key selected in the left pane, you should see a list of environment variables and their values in the right pane (for example, CLIENT_LOCALE:REG_SZ:EN_US.CP1252).
  4. Change existing environment variables, if needed.
    1. Double-click the environment variable.
    2. Type the new value in the String Editor dialog box.
    3. Click OK to accept the value.
  5. Add new environment variables, if needed.
    1. Choose Edit > Add Value in the Registry Editor.
    2. Enter the name of the environment variable in the Value Name edit box and choose REG_SZ as the data type.
    3. Click OK and type a value for the environment variable in the String Editor dialog box.
  6. Delete an environment variable, if needed.
    1. Select the variable name.
    2. Choose Edit > Delete in the Registry Editor.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]