Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 569
  • Last Modified:

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.
0
minjiezen
Asked:
minjiezen
  • 3
  • 3
1 Solution
 
BigSchmuhCommented:
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" ?
0
 
minjiezenAuthor Commented:
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.
0
 
BigSchmuhCommented:
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...
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
minjiezenAuthor Commented:
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.
0
 
BigSchmuhCommented:
Done but you should although open a case at your db2 support desk as this may leads to other more painfull missing parts.
==> When you open a case (They call this a PMR), they have to help you and they may link your PMR to an APAR number (a bug generally) which should get fixed in a future FixPak

Hope this helps.
0
 
minjiezenAuthor Commented:
Thanks a lot!
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now