Link to home
Start Free TrialLog in
Avatar of minjiezen
minjiezen

asked on

Cannot fine ibmdadb2.h file

Hi,
I have installed DB2 Personal Edition V8.1 on my Windows XP, and I'm using IBM OLE DB Provider for my C++ application. The DB2 documentation (Application Development Guide: Programming Client Applications) indicates that I have to include ibmdadb2.h in my application, and that this file can be found in SQLLIB\include directory. However, it's not there. I then searched my whole C: drive and this file simply does not exist. How can this be? Is it because I'm using Personal Edition?
Thanks.
Avatar of BigSchmuh
BigSchmuh
Flag of France image

I do not see any reason why you can not find this file but I am using DB2EE v7...
==> Did you install the "Application Developement Client" ?
Avatar of minjiezen
minjiezen

ASKER

Yes, I did. That's why it's weird, unless "Application Developement Client" is not what I thught should be. If I have the following menu items (from Start->IBM DB2) and they function fully, does that mean I DO have "Application Developement Client"?

Business Intelligent Tools
Command Line Tools
Development Tools
General Administration Tools
Information
Monitoring Tools
Set-up Tools

And under those menu items, there are sub items. For example,
for Command Line Tools, there are:
Command Center
Command Line Processor
Command Window;

for Development Tools, there are:
Development Center
Project Deployment Tool;

for General Administration Tools, there are:
Control Center
Journal
Replication Center
Task Center

Thanks.
One of my server with DB2EE v7 Fp10 C:\SQLLIB\Include directory contains 3 "cobol" sub-dir and 34 H files.
==> This one was installed in 2 steps:
-Installation of the DB2 server and its FixPack 10
-Installation of the "Application Development Client" which comes with "Stored Procedure Builder" application

Another server only contains the ibmdadb2.h in its C:\SQLLIB\Include
==> This one was installed with the DB2 Server only

Please check up your DB2 server C:\SQLLIB\Include as you may found what you need...Otherwise it means you do not have this file in the "Personal Edition" but I can send you a copy to the email you want...
I have 3 "cobol" sub directories and 37 H files in C:\SQLLIB\include directory, but ibmdadb2.h is not among those 37 H files. I tried to install FixPak 4 for "Application Development Client", but I got an error message as follows:

"A DB2 product at version 8, release 1, modification 0, and service level 0 is already installed on this machine. The installation you are attempting to perform is for DB2 at version 8, release 1, modification 4, and service level WR21326, so will not be permitted. "

But then it would let me continue installing it. I opted not to. Should I install it? Otherwise, can you please email me ibmdadb2.h file to minjie@excite.com? Thanks.
ASKER CERTIFIED SOLUTION
Avatar of BigSchmuh
BigSchmuh
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot!