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 > DB2 stored procedure compile error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-04, 03:04
Parijat Parijat is offline
Registered User
 
Join Date: May 2004
Posts: 6
DB2 stored procedure compile error

Hi ,

When i am trying to build a stored procedure .I am getting the following errors :

CAPIREADMIN.PROC_DELETE_VARIABLE - Build started.
Create stored procedure returns -7032.

-- LOG FILE P2181525.log FOR PROCEDURE CAPIREADMIN.PROC_DELETE_VARIABLE

-- DB2_SQLROUTINE_PREPOPTS=

-- PREP/BIND MESSAGES FOR C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp\P2181525.sqc


LINE MESSAGES FOR P2181525.sqc

------ --------------------------------------------------------------------

SQL0060W The "C" precompiler is in progress.

SQL0091W Precompilation or binding was ended with "0"

errors and "0" warnings.


-- CONTENTS OF C:\PROGRA~1\IBM\SQLLIB\function\routine\sr_cpath.b at




-- CONTENTS OF C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp\P2181525.BAT

@echo on
set SQLROUTINE_FILENAME=P2181525
set db2path=C:\PROGRA~1\IBM\SQLLIB

-- COMPILATION COMMAND:

nmake /f C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc.ma k


-- CONTENTS OF C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp\P2181525.def

LIBRARY P2181525
EXPORTS _pgsjmp@8
pgsjmp=_pgsjmp@8


-- COMPILATION MESSAGES FOR C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp\P2181525.c
-- C COMPILATION ERROR CODES: 0 0 1


C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp>set SQLROUTINE_FILENAME=P2181525



C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp>set db2path=C:\PROGRA~1\IBM\SQLLIB



C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc\CA PIRE\CAPIREADMIN\tmp>nmake /f C:\PROGRA~1\IBM\SQLLIB\function\routine\sqlproc.ma k

'nmake' is not recognized as an internal or external command,

operable program or batch file.


-- END OF LOG FILE (SQLCODE: -7032)

CAPIREADMIN.PROC_DELETE_VARIABLE - Build failed.
CAPIREADMIN.PROC_DELETE_VARIABLE - Roll back completed successfully.


Please help me as it is urgent.
Reply With Quote
  #2 (permalink)  
Old 05-18-04, 08:02
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Do you have a C compiler on the DB2 server?
Andy
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