System environment variables for IBM Data Server Driver Package (Windows)
Windows system environment variables are updated to include the location of the default client interface copy for the IBM® Data Server Driver Package software.
- When you install the IBM Data Server Driver Package software as the default client interface copy
- When you make the IBM Data Server Driver Package copy to be the default client interface copy by using the db2swtch command
- When a default client interface copy undergoes an upgrade
- If you promote a server or client product to be the default database copy, the reference to the default client interface copy is removed from system environment variables. This situation applies when you promote the server or client product during an installation, a fix pack update, or a switch by using the db2swtch command.
- If the IBM Data Server Driver Package software coexists
with the default
database copy for an earlier server or client fix pack, the default client
interface copy and default data server copy path coexist in the system variables. Manually clean up
these variables to remove conflicting paths, or run the db2swtch command to
complete the following tasks:
- Demote the current client interface copy
- Promote the current client interface copy again for the Fix Pack 3 or later IBM Data Server Driver Package copy
To avoid conflict among system environment variables about which path to use when multiple client or server products are already installed, the IBM Data Server Driver Package copy does not update these environment variables during installation. Message DBI20008W is written to an installation log file in the My Documents\DB2LOG\ directory when another IBM data server client or driver is already installed. The log file name uses the following format: DB2_ProductNameAbbrev-DateTime.log, where DB2_ProductNameAbbrev is an abbreviated form of the product name and DateTime is the timestamp. An example of a message is dsdriver_log-Tue Jan 24 13_34_54 2012.log.