Skip to main content

Connecting to IBM Db2 database

Connection requirements

To connect to IBM Db2 you need to install the ODBC connector:

https://www-01.ibm.com/support/docview.wss?uid=swg21385217

Connecting to IBM Db2

To connect to the IBM Db2 database, create new documentation by clicking Add documentation and choosing Database connection.

Connection to SQL Server

Provide database connection details:

  • Host - provide a host name or address where the database is located. E.g. server17, server17.ourdomain.com or 192.168.0.37.
  • Port - change the default port of the IBM Db2 instance if required.
  • Driver - choose an ODBC driver to connect to the IBM Db2 instance.
  • User and Password - provide your username and password.
  • Database - type in the database name.
Connection to IBM Db2

Here is a comparison with connection details in IBM Data Studio.

Connection to IBM Db2
Connection to IBM Db2

Saving password

You can save the password for later connections by checking the Save password option. Passwords are saved in the repository database.

Importing schema

When the connection is successful, Dataedo will read objects and show a list of objects found. You can choose which objects to import. You can also use the advanced filter to narrow down the list of objects.

Objects to import

Confirm the list of objects to import by clicking Next.

The next screen will allow you to change the default name of the documentation under which your schema will be visible in the Dataedo repository.

Change title

Click Import to start the import.

Importing documentation

When done, close the import window with the Finish button.

Import succeeded

Your database schema has been imported to new documentation in the repository.

Imported database schema