IBM Db2 for i connection
To access your data in IBM 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.4+ and 7.5+.
Prerequisites
Obtain the certificate file
A certificate file on the Db2 for i server is required to use this connection. To obtain an IBM Db2 Connect Unlimited Edition license certificate file, go to Db2 Connect licensing information and Installing the IBM Data Server Driver for JDBC and SQLJ. For installation instructions, see Activating the license certificate file for Db2 Connect Unlimited Edition.
JT400 drivers
This connection has the option to use the JT400 toolkit. JT400 is a free toolkit that provides JDBC/ODBC drivers for accessing IBM i (formerly known as AS/400) systems. It provides a set of Java classes that can be used to access various resources and services on an IBM i system, such as databases, data queues, program calls, and more.
Create a connection to Db2 for i
To create the connection asset, you need these connection details:
- Driver: For more information, see Prerequisites.
- Hostname or IP address
- Port number
- Location: The unique name of the Db2 location you want to access
- Username and password
- SSL certificate (if required by the database server)
For Private connectivity, to connect to a database that is not externalized to the internet (for example, behind a firewall), you must set up a secure connection.
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 SQL reference for the correct syntax.