IBM Db2 for i connection

To access your data in Db2 for i, create a connection asset for it.

Db2 for i is the relational database manager that is fully integrated on your system. Because it is integrated on the system, Db2 for i is easy to use and manage.

Supported versions

IBM DB2 for i 7.2+

Prerequisite

This connection requires that you upload two JAR files: db2jcc_license_cisuz.jar and db2jcc4.jar. For information, see IBM Db2 Connect: Pricing and Installing the IBM Data Server Driver for JDBC and SQLJ. The files must be uploaded by a Cloud Pak for Data administrator with the Administer platform permission.

Create a connection to Db2 for i

To create the connection asset, you need these connection details:

For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.

Choose the method for creating a connection based on where you are in the platform

In a project Click Add to project > Connection. See Adding a connection to a project.


In a catalog Click Add to catalog > Connection. See Adding a connection asset to a catalog.


In a deployment space Click Add to space > Connection. See Adding connections to a deployment space.


In the Platform assets catalog Click New connection. See Adding platform connections.

Next step: Add data assets from the connection

Where you can use this connection

You can use Db2 for i connections in the following workspaces and tools:

Analytics projects

Catalogs

Data Virtualization service You can connect to this data source from Data Virtualization.

Restriction

For SPSS Modeler, you can use this connection only to import data. You cannot export data to this connection or to a Db2 for i connection connected data asset.

Running SQL statements

To ensure that your SQL statements run correctly, refer to the Db2 for i documentation for the correct syntax.

Learn more

IBM Db2 for i documentation

Parent topic: Supported connections