ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportODBC connection DB2 for i

Post new topicReply to topic
ODBC connection DB2 for i View previous topic :: View next topic
Author Message
leron8
PostPosted: Tue Nov 01, 2016 4:27 pm Post subject: ODBC connection DB2 for i Reply with quote

Novice

Joined: 25 Oct 2016
Posts: 20
Location: MX

Has anybody been able to connect to a DB2 for i Database via ODBC, I've only been able to do it with JDBC but I'd like to use ODBC for the built in transaction support with Compute Nodes.

Thanks in advanced.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 02, 2016 4:00 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bk58060_.htm

Install the necesssary DB2 client that can talk to DB2 on I.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
leron8
PostPosted: Wed Nov 02, 2016 8:06 am Post subject: Reply with quote

Novice

Joined: 25 Oct 2016
Posts: 20
Location: MX

Thanks for the quick response.

We've tried multiple times with that configuration with no success because we cant find this driver "DRIVER=/opt/IBM/db2/V9.7/lib64/db2o.o". As to our understanding the db2 needs to be installed on the same server as IIB, which is not the case, since it is on the i System. It says "In Driver, add the full path of your DB2 installation."

That link applies to the configuration on Linux systems, we've tried on RHEL 6 and 7 with IIB 9. Now we're working on Windows with IIB 10, in this case, reading this link http://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ah14442_.htm I only see the configuration for DB2 UDB and not DB2 for i.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 02, 2016 8:14 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need to install the full DB2 client on any machine that has IIB and you want to use ODBC to DB2.

Broker then uses the name of the configuration item in the DB2 client configuration - *exactly* - to find out the connection information it needs.

I don't know if the regular DB2 client works with I, but you should still have some kindf of DB2 client that should work the same way.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
leron8
PostPosted: Thu Nov 03, 2016 9:34 am Post subject: Reply with quote

Novice

Joined: 25 Oct 2016
Posts: 20
Location: MX

Ok. As to what I understand then, I'll need to install client access, configure a DSN and try with that.

I'll test it and let you know.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportODBC connection DB2 for i
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.