Environment variables supported by the IBM Data Server Driver for ODBC and CLI

The IBM Data Server Driver for ODBC and CLI does not support the command line processor (CLP), which means that you cannot set Db2® registry variables by using the db2set CLP command. Relevant Db2 registry variables are supported with the IBM Data Server Driver for ODBC and CLI as environment variables instead.

IBM Data Server Driver for ODBC and CLI is not part of the IBM® Data Server Client or the IBM Data Server Runtime Client. It must be installed and configured separately.

The Db2 registry variables that will be supported by the IBM Data Server Driver for ODBC and CLI as environment variables are:

Table 1. Db2 registry variables supported as environment variables
Type of variable Variable name(s)
General variables
DB2ACCOUNT
DB2BIDI
DB2CODEPAGE
DB2GRAPHICUNICODESERVER
DB2LOCALE
DB2TERRITORY
System environment variables
DB2_CLI_DRIVER_INSTALL_PATH
DB2DOMAINLIST
Communications variables
DB2_FORCE_NLS_CACHE
DB2SORCVBUF
DB2SOSNDBUF
DB2TCP_CLIENT_RCVTIMEOUT
Performance variables
DB2_NO_FORK_CHECK
Miscellaneous variables
DB2CLIINIPATH
DB2DSDRIVER_CFG_PATH
DB2DSDRIVER_CLIENT_HOSTNAME
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