473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

DB2 UDB 8.2 for Linux and the ODBC-driver

Hello All,

Whether supports DB2 UDB 8.2 FP7 for Linux the ODBC-driver ?
If yes, whether that enters this driver into delivery DB2 UDB 8.2 FP7
for Linux ?
If it is possible, bring please an example of customization of the
ODBC-driver for DB2 under Linux.

--
Best Regards, Stalker

Origin: The History is Dead
Nov 12 '05 #1
1 2728
Tolik Gusin wrote:
Hello All,

Whether supports DB2 UDB 8.2 FP7 for Linux the ODBC-driver ?
If yes, whether that enters this driver into delivery DB2 UDB 8.2 FP7
for Linux ?
If it is possible, bring please an example of customization of the
ODBC-driver for DB2 under Linux.


Hello Tolik.

I realise you aren't a native English speaker (Ukraine ?) so hopefully you
can understand the following -

The ODBC driver for DB2 on Linux is all within the db2cli (CLI is bigger
than ODBC, but ODBC is a subset of it).

You will need to install the unixODBC package. You don't say which Linux
distro you are running, so positions of files etc may vary. I'm using SuSE
Pro 9.3 and my config files are under /etc/unixODBC. The files are -

odbcinst.ini (this defines the driver details)
============

[DB2]
Description = DB2 Driver
Driver = /opt/IBM/db2/V8.1/lib/libdb2.so
Driver64 =
Setup =
Setup64 =
UsageCount =
CPTimeout =
CPReuse =
FileUsage = 1
DontDLClose = 1

odbc.ini (data sources : individual databases)
========

[DBAIR001]
Description = Aircraft Database
Driver = DB2

[FSITEST]
Description = FSI Test
Driver = DB2

The data source name (in square brackets) relates to the cataloged database
alias name. The "Driver = DB2" points back to the [DB2] definition on
odbcinst.ini.

The graphical ODBC admin tools on SuSE 9.3 didn't seem to work for me, so I
had to configure this manually, using some docs at http://www.unixodbc.org
(which I found by searching on Google for "ODBC DB2"

HTH

Phil

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
After a lot of thought and research, and playing with FreeTDS and InlineTDS, as well as various ODBC connections, I have determined that the fastest and cheapest way to get up and going with PHP on...
10
by: David ROBERT | last post by:
Hello, I need to read data from a MS Access database. The program (reader) is installed on a linux box and is written in python langage. The database is MS Access 2002 installed on a Win XP box...
1
by: Simon Wittber | last post by:
I am currently tasked with connecting Python CGI programs, under Apache2 / Linux, to SQL Server on Windows 2000. The latest MSSQL module from http://www.object-craft.com.au/projects/mssql/...
10
by: callmebill | last post by:
I'm getting my feet wet with making Python talk to MySQL via ODBC. I started on Windows, and it went smoothly enough due to the ODBC stuff that apparently is native to Python at least on windows...
5
by: dubing | last post by:
Hello all, We need to access MS SQL 2000 database from RHEL platforms. I've tested unixODBC and Easysoft ODBC-ODBC Bridge (under trial license). They work together pretty well. Unfortunately...
4
by: dubing | last post by:
Hello, Here is what we need to do. On a Linux Apache server, we need to write PHP or Perl scripts to pull the data directly from the Access database and display extracted data on the web. ...
1
by: phil campaigne | last post by:
Tom Lane wrote: > phil campaigne <pcampaigne@charter.net> writes: > > >> when I login to linux and check the env's I see: >>...
9
by: Eric | last post by:
Is there a visual designer (open source) in linux for database? I would like to developp my data model on the computer... I see "dia" with uml library but... it won't export to SQL. ...
0
by: Eric | last post by:
I need help to connect DBDesigner4 linux in ODBC to postgres. I'm having a problem connecting to a remote Postgres db using ODBC from my Debian Linux laptop. I've got ODBC set up (UnixODBC). In...
5
by: mjf | last post by:
I'd like to connect from any Linux machine to the DB2 on a Linux server via an IP adddress (or any available method that allows us to connect to DB2 from another machine). I know we can do it in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.