Rules of precedence for environment variables
When HCL OneDB™ products accesses an
environment variable, normally the following rules of precedence apply:
- Of highest precedence is the value that is defined in the environment (shell) by explicitly setting the value at the shell prompt.
- 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).
- The next highest precedence goes to the value that is defined in the common environment-configuration file ($ONEDB_HOME/etc/onedb.rc).
- 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.