on 03-02-2006 3:51 AM
i have to configure a scenario from db2 to xi to rfc
let me know were to find the db2 driver and once done how do i check if i have installed the correct driver. is there any sample program through which i can check if the driver is installed
Hi Amit,
IF you have already instaled DB2 databse, then you can get the driver, in this location from your DB2 database folder,
/usr/local/java/db2/lib/db2jdbc.zip
If you need to install DB2, then I would suggest that you try this link,
http://www.ibm.com/software/data/db2/
http://www-128.ibm.com/developerworks/db2/library/techarticle/0203zikopoulos/0203zikopoulos.html
As DB2 is a Database from IBM, a search in the IBM website can also help you if the above links do not help.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Sorry for the confusion here.
There are two types of DB2 JDBC Drivers are avialble.
1.The "Native" JDBC driver.
Driver:<b>com.ibm.db2.jdbc.app.DB2Driver</b>
Sub protocol:<b>db2</b>Ex.jdbc:db2:localhost/COLLECTIONNAME
2.The "Toolbox" JDBC driver.
Driver:com.ibm.as400.access.AS400JDBCDriver
Sub protocol:as400
Ex.jdbc:as400://MACHINENAME/COLLECTIONNAME
<i>jdbcUrl=jdbc:db2://hostadres:portno/databasename eg
jdbc:db2://localhost:50000/phonedb</i>
I think the JDBC Url is as you have mentioned.
Regards,
Bhavesh
Hi Amit,
I would suggest that you go through this link. It might answer your queries.
http://as400bks.rochester.ibm.com/html/as400/v4r5/ic2924/index.htm?info/java/rzaha/jdbc.htm
Regards,
Bhavesh
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.