Solved

Cannot fine ibmdadb2.h file

Posted on 2003-11-19
6
546 Views
Last Modified: 2012-05-04
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
Comment
Question by:minjiezen
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:BigSchmuh
ID: 9790633
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
 

Author Comment

by:minjiezen
ID: 9790955
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
 
LVL 18

Expert Comment

by:BigSchmuh
ID: 9795959
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:minjiezen
ID: 9797058
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
 
LVL 18

Accepted Solution

by:
BigSchmuh earned 50 total points
ID: 9798197
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
 

Author Comment

by:minjiezen
ID: 9799663
Thanks a lot!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question