Rules of precedence for environment variables

When HCL OneDB™ products accesses an environment variable, normally the following rules of precedence apply:
  1. Of highest precedence is the value that is defined in the environment (shell) by explicitly setting the value at the shell prompt.
  2. The second highest precedence goes to the value that is defined in the private environment-configuration file in the home directory of the user (~/.onedb).
  3. The next highest precedence goes to the value that is defined in the common environment-configuration file ($ONEDB_HOME/etc/onedb.rc).
  4. The lowest precedence goes to the default value, if one exists.
For precedence information about GLS environment variables, see the HCL OneDB GLS User's Guide.
Important: If you set one or more environment variables before you start the database server, and you do not explicitly set the same environment variables for your client products, the clients will adopt the original settings.