cancel
Showing results for 
Search instead for 
Did you mean: 

DB2 database connection via JDBC ?

michel_dekimpe
Participant
0 Kudos

All,

Does anybody know all the steps to setup a connection to a DB2 database ?

Is this also possible via JDBC sender adaptor ?

Thanks.

Regards, Michel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (2)

Answers (2)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

To connect with any database weather MS SQL Server, Oracle or DB2 you have to Use JDBC adapter of XI/PI.

Only Driver and connection parameter would be diffrent.

For DB2

Driver:com.ibm.db2.jdbc.app.DB2Driver

jdbcUrl=jdbc:db2://hostadres:portno/databasename

michel_dekimpe
Participant
0 Kudos

Anybody has another idea ?

Thanks.

Former Member
0 Kudos

Hi,

maybe my first answer was not precise enough.

If you want connect PI with a database you (always) use the JDBC Adapter.

Read from database -> Sender Adapter

Write to database -> Receiver Adapter

The detailed configuration is explained in SAP Help (provided by my second link above).

Prerequisite is that you have installed the driver for your database. This is explained in a How-To-Guide (second link above).

Hope it's clear now.

Regards

Patrick