beautypg.com

IBM Data Server DB2 User Manual

Page 162

background image

148

DB2 Deployment Guide

– Set the DB2_CLI_DRIVER_INSTALL_PATH:

Set the DB2 environment variable DB2_CLI_DRIVER_INSTALL_PATH to
the directory where the driver is installed:

export DB2_CLI_DRIVER_INSTALL_PATH=$HOME/db2_cli_odbc_driver/clidriver

Where $HOME/db2_cli_odbc_driver/clidriver is the path where the driver
is installed.

Miscellaneous variables

DB2CLIINIPATH

DB2_ENABLE_LDAP

DB2LDAP_BASEDN

DB2LDAP_CLIENT_PROVIDER

DB2LDAPHOST

DB2LDAP_KEEP_CONNECTION

DB2LDAP_SEARCH_SCOPE

DB2NOEXITLIST

Diagnostic variables

DB2_DIAGPATH

Connection variables

AUTHENTICATION

PROTOCOL

PWDPLUGIN

KRBPLUGIN

ALTHOSTNAME

ALTPORT

INSTANCE

BIDI

Note: If you have multiple copies of the driver installed, ensure that the
DB2_CLI_DRIVER_INSTALL_PATH points to the intended copy of the
driver.

Type of variable

Variable names