473,406 Members | 2,371 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,406 software developers and data experts.

ODBC connection to V7 and V8 databases simultaneously

Up until now, I've been working with V& DB2 UDB databases, using
Embarcadero DBArtisan as my GUI tool. I also have other tools that I
use in my day-to-day job so running directly on the server via the CLP
is not a viable option.

I've just had a number of V8 DB2 UDB databases added to my task list.

Of course #1, the old V7 DB2 ODBC client software doesn't connect to
V7 databases.

Of course #2, the initial version of the V8 DB2 ODBC client doesn't
talk to V7 databases.

Does the newer versions of the V8 client include the backward
compatibility that I need?

Alternately, does anyone know of a non-IBM DB2 ODBC client that
supports both V7 and V8 databases?

Thanks in advance!

Aug 24 '07 #1
3 3682
On Fri, 24 Aug 2007 11:59:42 -0700, byrocat scribbled:
Up until now, I've been working with V& DB2 UDB databases, using
Embarcadero DBArtisan as my GUI tool. I also have other tools that I use
in my day-to-day job so running directly on the server via the CLP is
not a viable option.

I've just had a number of V8 DB2 UDB databases added to my task list.

Of course #1, the old V7 DB2 ODBC client software doesn't connect to V7
databases.
I assume you mean "V8 databases"? Even so, in theory it ought to work
(see below).
Of course #2, the initial version of the V8 DB2 ODBC client doesn't talk
to V7 databases.
Not sure what you mean by "initial version" - you mean v8 with no
fixpaks, or a beta version or something else? What's the error that you
get when you try this?

Again, this should work fine - at least it always has for me. We have a
v8 server which connects to several other servers to extract data. Those
other servers are either v7 or v8, running on z/OS, AIX, Linux or Windows
(actually, they're all v8 after the last one *finally* migrated to v8 a
few weeks ago :-).
Does the newer versions of the V8 client include the backward
compatibility that I need?
Always has. As I understand it, the DB2 compatibility policy is that any
given client version can connect to servers at the same version, one
version behind (backward compatibility), or one version ahead (forward
compatibility), i.e. a v8 client can connect to a v7, v8 or v9 server, a
v9 client can connect to a v8 or v9 server (and presumably a v10 server
in future) but not a v7 server (as it's two versions behind).

That said, there can be problems connecting to servers (even at the same
level) after fixpaks have been installed, particularly if the DBA's
forgotten to rebind the packages for a given client version.

(This is probably my number one gripe with DB2 - at the moment it's
stopping us moving to v9. As mentioned above, all our data sources are
now v8 so in theory we can install v9 and still use them. However,
testing with a v9 client I can connect, but can't SELECT or EXPORT
because ... surprise surprise ... the DBAs haven't rebound their
databases for the v9 client yet ... grrr)
Alternately, does anyone know of a non-IBM DB2 ODBC client that supports
both V7 and V8 databases?
There are third party ODBC clients available (e.g. DataDirect) but they
cost money and I've no idea what their compatibility against different
versions is.
Cheers,

Dave.
Aug 25 '07 #2
Thanks, Dave!

Just going through your notes and realized that you have some issues
of confusion (probably my fault).

I'm using DBArtisan to connect to various databases that I'm working
on. Up until now, they have all been V7 databases, and I installed
the client software from a V7 release CD that had been supplied to me.

Recently, I've become involved with some new databases that were
created on servers that are running V8.

DBArtisan can't connect to the V8 databases and presents me with an
error message that talks about 32-bit versus 64-bit compatiblity.

I went down to the group that's programming the V8 databases and got a
CD from them that contained a V8 client, the exact version being
unknown. This ODBC code allowed me to connect to the V8 databases but
not the V7 ones.

Thinking back and asking a few more questions, I suspect that this may
have been a special-test-release of DB2 where there is an underlying
assumption that the software wasn't going to be used in a mexed-
version environment.

Of course, trying to go back now has problems for both DB2 version now
giving error messages.

Fortunately, I have not had to connect to any DB2 databases so I have
time to get a good version of the DB2 client software.

Does anyone have a URL for the latest-version V8 client software from
the IBM website?

Aug 28 '07 #3
On Tue, 28 Aug 2007 12:29:06 -0700, byrocat scribbled:
Thanks, Dave!

Just going through your notes and realized that you have some issues of
confusion (probably my fault).
Could well be my fault, see below... :)
I went down to the group that's programming the V8 databases and got a
CD from them that contained a V8 client, the exact version being
unknown. This ODBC code allowed me to connect to the V8 databases but
not the V7 ones.
It appears my assertion that a given client version could connect to a
server version one behind, equal to, or one ahead has a caveat in the
case of a v8 client connecting to a v7 server. From the InfoCenter [1]:

"""
You cannot access a DB2 Connect Version 7 server from a DB2 Universal
Database Version 8 client.

To access a DB2 Universal Database Version 7 server on a Linux, UNIX, or
Windows operating system from a DB2 Version 8 client, you must

* Have DB2 Version 7 FixPak 8 or later installed on your server; and
* Have run the db2updv7 command.
"""

Don't worry about the first paragraph as it's talking about Connect
servers and I don't think that's what you're trying to access.

The second paragraph is the interesting one. Can you find out what fixpak
level of the v7 server you're trying to access? If it's FP7 or below you
might need to nudge the server admins to throw a fixpak [2] on there (I'd
be rather surprised given that FP7 is over 5 years old!).

If not, it might be worth checking if they've run the db2updv7 command
against the database you're trying to access (running the command is part
of the fixpak installation instructions but I've seen enough admins
ignore these to know it's worth checking :).
Thinking back and asking a few more questions, I suspect that this may
have been a special-test-release of DB2 where there is an underlying
assumption that the software wasn't going to be used in a mexed- version
environment.
If that is indeed that case there's not a great deal I can suggest, other
than trying to migrate to a "standard" version...
DBArtisan can't connect to the V8 databases and presents me with an
error message that talks about 32-bit versus 64-bit compatiblity.
Interesting - if none of the suggestions above pan out, could you post
the error message and (more importantly) any error numbers provided?
Does anyone have a URL for the latest-version V8 client software from
the IBM website?
Unfortunately the only reference I can find to a freely downloadable DB2
v8 client is the "DB2 Runtime Client Lite" link on the client & fixpak
download page for DB2 v8 [3]. It suggests it supports ODBC, which would
appear to be what you need, but it's not a package I've ever used so I'm
not 100% sure.

[1] http://publib.boulder.ibm.com/infoce...2luw/v8/topic/
com.ibm.db2.udb.doc/start/t0011929.htm

[2] http://www-1.ibm.com/support/docview...id=swg21259593

[3] http://www-1.ibm.com/support/docview...id=swg21256059
HTH,

Dave.
Aug 28 '07 #4

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

Similar topics

1
by: Cliff | last post by:
We are trying to connect to 3 different Oracle databases using MS Access as the front-end and ODBC as the connection. The problem that we are having is that 1 of the databases requires a...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
2
by: TS | last post by:
Does anyone have any experience creating an ODBC Connection to multiple Access databases? I need to be able to connect several databases, rather than linking to the tables. My only experience...
15
by: Rob Nicholson | last post by:
I'm starting to worry a bit now. We're getting the above error when two users hit the same database/page on an ASP.NET application using ADO.NET, talking to a SQL 7 server. The error is perfectly...
3
by: Greg Strong | last post by:
Hello All, Is there any way to close an ODBC connection via DSN without completely closing the Access front-end? I'm doing some testing with using Access as a front-end to Oracle 10g Express...
8
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
2
by: 111mike | last post by:
Hello, Here's my problem. I cannot connect to mysql database using odbc string connections or dns. I keep getting a "cannot connect to mysql server localhost." I'm running windows XP Pro and...
2
by: Hetal | last post by:
Hi... I am a newbie VB.NET developer and i am looking at working with ADO.NET rather than ADO. In one of our native VB application with ADO, we used to create 1 connection object and that would...
4
by: Rodent | last post by:
I have an IIS 6.0, 2003 Server running with PHP installed. I have an access database with a DSN ODBC connection configured. When this ODBC is configured to access the database locally - great,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.