DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #16  
Old July 5th, 2004, 04:19 PM
smilingm smilingm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 15 smilingm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i have read this pdf and the link about the development client already and I have all that done what they said there

I don't have the development client explicitly installed. in the manual of the db2 personal edition there is nothing mentioned about that. and a friend of mine has the same version and it runs without explicitly installing the development client???
And I can compile and create ESQL C applications, which can only be created with the dev. app. client by this ibm text in the link...

I can't explain it to myself...maybe I should try it with another c/c++ compiler

Reply With Quote
  #17  
Old July 5th, 2004, 06:40 PM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
Have your read the section Building SQL procedures on Windows servers in the following page:

http://www-106.ibm.com/developerwor...01alazzawe.html

Reply With Quote
  #18  
Old July 6th, 2004, 07:25 AM
smilingm smilingm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 15 smilingm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello,

I Have found and removed the error. I am really happy.
That was a really bad error, that had nothing to do with the compiler or db2.
The Environment was correct. It had actually something to do with the execution of the compiler. In the log File was the text:
-------------------------------------------
"C:\>nmake /f C:\Programme\IBM\SQLLIB\function\routine\sqlproc.mak
cl -Ox -W2 -TC -D_X86_=1 -MD -I"C:\Programme\IBM\SQLLIB\include" P3490239.c /link -dll /out:P3490239.dll -def:P3490239.def "C:\Programme\IBM\SQLLIB\lib\db2api.lib"
P3490239.c
fatal error C1083: Cannot open source file: 'P3490239.c': No such file or directory"
-----------------------------------------------
and i saw that the compiler is called in the directory C:\
The Problem was that C:\ was not the directory where the C file to compile was. So there was the Error Message.
But now where was the mistake?
I had accidental looked at the comand processor in the Windows XP Registry. There is a Variable set in
HKEY_LOCAL_MACHINE -> Software -> Microsoft -> command Processor
which is named Autorun. There was the value cd\ set. That means everytime a ms do console gets open the Current path is set to C:\ and thats why the error occurs. Very tricky! Now it runs without Problems!

Thanks a lot for spending your time !

Reply With Quote
  #19  
Old July 6th, 2004, 07:33 AM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
Great! I was just about to tell you to steal your friend's machine and be done with it.

Reply With Quote
  #20  
Old July 6th, 2004, 09:41 AM
smilingm smilingm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 15 smilingm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>to steal your friend's machine

that was the next thing that I had in mind

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsDatabasesDB2 Development > Creating stored procedures with db2 Personal Edition on Windows XP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway