Type of variable

Variable names

 

 

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

 

 

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.

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.

148DB2 Deployment Guide

Page 162
Image 162
IBM manual Miscellaneous variables, Diagnostic variables, Connection variables, 148 DB2 Deployment Guide