If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Creating Stored Procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-09, 11:41
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Creating Stored Procedures

I need to create Stored procedure on one of dev servers

When I issue the command

Code:
db2 -td@ -f d:\td\sp1
I get an Error as below

Code:
'nmake' is not recognized as an internal or external command,
operable program or batch file.

-- END OF LOG FILE (SQLCODE: -7032)
It seems that we don't have compiler installed.

What should I do ?

DBFinder
Reply With Quote
  #2 (permalink)  
Old 02-17-09, 11:58
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What DB2 version and OS are you using?

Andy
Reply With Quote
  #3 (permalink)  
Old 02-17-09, 12:03
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
DB2 Ver 8.1.5

Quote:

C:\Documents and Settings\db2admin>db2level
DB21085I Instance "DB2" uses "32" bits and DB2 code release "SQL08015" with
level identifier "02060106".
Informational tokens are "DB2 v8.1.5.449", "s040212", "WR21334", and FixPak
"5".
Product is installed at "C:\SQLLIB".
Reply With Quote
  #4 (permalink)  
Old 02-17-09, 13:07
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
For DB2 prior to 8.2, you need a C compiler to create SQL stored procedures. Either upgrade to 8.2, 9.1, or 9.5, or get a C compiler.

Andy
Reply With Quote
  #5 (permalink)  
Old 02-17-09, 13:15
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You can upgrade for free to V8 FP17a, which is the latest 8.2 release.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #6 (permalink)  
Old 02-17-09, 13:35
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks Friends,

Your Help will always be remembered.

I used following Link

Configuring DB2 V8.1 to compile stored procedures with WebSphere Business Integration Server V4.2

Thanks again
DBFinder
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On