IBM Db2 for iSeries (DB2 for IBM i) support (ODBC)

Applies to: Dataedo 23.x (current) versions, Article available also for: 10.x

IBM Db2 for iSeries (DB2 for IBM i) is currently not officially supported. Connection is possible with generic ODBC driver. Metadata returned depends on driver version and provider.

We have tested and successfully connected to and imported metadata from IBM Db2 for iSeries (DB2 for IBM i) with ODBC drivers listed below. It is highly likely it will work with other drivers as well.

Tested ODBC Driver: IBM Db2 ODBC

We have tested and successfully connected to and imported metadata in following environment:

ODBC version: 11.01.2021.1452

Supported schema elements and metadata

Dataedo reads following metadata from IBM Db2 for iSeries (DB2 for IBM i) databases:

  • Tables
    • Columns
      • Data type with length
      • Nullable
  • Views
    • Columns
      • Data type with length
      • Nullable

Limitations

Following schema/metadata elements currently are not supported:

  • Function/Procedure
  • View script
  • Trigger
  • Primary keys
  • Foreign keys
  • Unique constraints

Resources

Download IBM Db2 ODBC driver

ODBC configuration

Learn more

Connect to IBM Db2 for iSeries (DB2 for IBM i)

Found issue with this article? Comment below
Comments are only visible when the visitor has consented to statistics cookies. To see and add comments please accept statistics cookies.
0
There are no comments. Click here to write the first comment.