DD_INSTALLDIR
- Last Updated: March 6, 2025
- 1 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
The DD_INSTALLDIR environment
variable provides the driver with the location of the product installation directory
so that it can access support files. If the InstallDir keyword has not been set in your .ini file(s), then DD_INSTALLDIR must
be set to point to the fully qualified path name of the installation directory.
DD_INSTALLDIR overrides the InstallDir keyword in any .ini files that are in use.
For example, to point to the location of the directory for an installation on /opt/odbc in the C shell, you would set this variable as follows:
setenv DD_INSTALLDIR /opt/odbc
In the Bourne or Korn shell, you would set it as:
DD_INSTALLDIR=/opt/odbc;export
DD_INSTALLDIR
To verify that the DD_INSTALLDIR
environment variable has been set, execute the env command and
review the output to confirm.
The driver searches for the location of the installation directory as follows:
- The driver checks the
DD_INSTALLDIRvariable. - The driver checks the odbc.ini or the odbcinst.ini files for the
InstallDirkeyword.
If the driver does not locate the installation directory, it returns an error.