Environment configuration
Print
- Last Updated: October 30, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Oracle Service Cloud 7.1
- Documentation
To configure the environment:
- Check your permissions: You must log in as a user with full r/w/x permissions recursively on the entire product installation directory.
-
From your login shell, determine which shell you are
running by executing:
echo $SHELL -
Run one of the following product setup scripts from the
installation directory to set variables: odbc.sh or odbc.csh. For
Korn, Bourne, and equivalent shells, execute odbc.sh. For a C shell,
execute odbc.csh. After running the setup script, execute:
envto verify that the installation_directory/lib directory has been added to your shared library path.
-
Set the ODBCINI environment variable. The variable must point
to the path from the root directory to the system information file where
your data source resides. The system information file can have any name,
but the product is installed with a default file called odbc.ini
in the product installation directory. For example, if you use an
installation directory of /opt/odbc and the default system information
file, from the Korn or Borne shell, you would enter:
ODBCINI=/opt/odbc/odbc.ini; export ODBCINIFrom the C shell, you would enter:
setenv ODBCINI /opt/odbc/odbc.ini