Obtain and Install Drivers for DB2

Download the Jdbc driver for your version of DB2 instance from the following location:

https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads

To obtain and install JDBC drivers for DB2

1. Get the JAR files for your version of DB2 from its installation directory.

JAR File

Version of DB2

db2jcc.jar or db2jcc4.jar

V9 (Type 2 or Type 4)

V10 (Type 4)

db2jcc_license_cu.jar

common.jar

db2jcc4.jar

DB2 z/OS

db2jcc_license_cisuz.jar

db2jcc4.jar

V10 (10.5) and V11 (11.1)Type 4

Note: For JDBC 3.0 and earlier, use the db2jcc.jar or db2jcc4.jar file.

2. Copy them to the appropriate TDV installation directory:

DB2 Version

Directory Location

DB2 v9 (Type 2 or Type 4)

<TDV_install_dir>\conf\adapters\system\db2_v9_type2

<TDV_install_dir>\conf\adapters\system\db2_v9_type_4

DB2 z/OS

<TDV_install_dir>\conf\adapters\system\db2_z_os_type_4

DB2 V10 (Type 4)

<TDV_install_dir>\conf\adapters\system\db2_v10_type_4

DB2 V11 (Type 4)

<TDV_install_dir>\conf\adapters\system\db2_v11_type_4

The JDBC driver in db2java.zip is the same as the fix pack in DB2.

Refer to the Installation guide for more details about the supported versions.

3. Restart the TDV Server.