If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 ODBC driver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-10, 08:44
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
DB2 ODBC driver

I have IBM data server client installed on my pc through which I connect to the database servers residing on AIX operating system. Can some please tell me if I can install ODBC drivers on my PC by keeping the IBM data server client ? OR Do I need to remove the client before installing the drivers.

It would be helpful if someone could also let me know the procedure to install the ODBC drivers and any command to verify the installation.

My windows client on my PC is DB2 V9.5 FP3 and my server is on AIX its version is 9.5 FP3 as well.
Reply With Quote
  #2 (permalink)  
Old 05-27-10, 10:21
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Data Server Client should contain the DB2 ODBC driver, among other things. You can see that by opening the Data Sources (ODBC) control panel and adding a data source - you will find DB2 ODBC in the driver list.
Reply With Quote
  #3 (permalink)  
Old 05-27-10, 10:37
Amarnath Reddy Amarnath Reddy is offline
Registered User
 
Join Date: Apr 2010
Posts: 10
Driver for ODBC and CLI is not part of the IBM Data Server Client or the IBM Data Server Runtime Client. It must be installed and configured separately; and it provides a subset of the functionality of either IBM Data Server client.

IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

steps to download and install :
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

you can verity with the following commands,

db2cli, db2level etc..

also Check that the java, open source files should not be present in this.

Thanks,
Amarnath N reddy
Reply With Quote
  #4 (permalink)  
Old 05-27-10, 11:21
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Actually I have gone through the info centre documents you provided but either of the documents doesn't give the procedure how to do it on windows.

I followed similar steps which the document provided for unix.

Installing the IBM Data Server Driver for ODBC and CLI


I created a directory db2_cli_odbc_driver under the db2 install directory which is C:\PROGRA~1\IBM\SQLLIB2 and extracted all the files under it.

Right now I need to verify if it is installed properly. db2level doesnot provide me that info.

Here is the output.


DB21085I Instance "DB2_01" uses "32" bits and DB2 code release "SQL09050" with

level identifier "03010107".
Informational tokens are "DB2 v9.5.0.808", "s071001", "NT3295", and Fix Pack
"0".
Product is installed at "C:\PROGRA~1\IBM\SQLLIB~2" with DB2 Copy Name
"DB2COPY1".

db2cli doesn't work


C:\Documents and Settings\PBTJB>db2cli
'db2cli' is not recognized as an internal or external command,
operable program or batch file.
Reply With Quote
  #5 (permalink)  
Old 05-27-10, 11:39
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Amarnath Reddy View Post
Driver for ODBC and CLI is not part of the IBM Data Server Client or the IBM Data Server Runtime Client.

IBM DB2 9.5 Information Center for Linux, UNIX, and Windows
Documentation you are quoting may be incorrect, or the packaging may have changed in one of the fixpaks, but ODBC drivers are indeed included in the Data Server Client distribution. It is an optional component and needs to be selected during installation, but it is there.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On