Hi Folks,
I am executing a stored procedure to update some data in a table. While executing it is giving the below problem.
ECSYS.UPDATE_USER - Build started.
Create stored procedure returns -7032.
-- LOG FILE P9161521.log FOR PROCEDURE ECSYS .UPDATE_USER
-- DB2_SQLROUTINE_PREPOPTS=
-- PREP/BIND MESSAGES FOR C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp\P9161521.sqc
LINE MESSAGES FOR P9161521.sqc
------ --------------------------------------------------------------------
SQL0060W The "C" precompiler is in progress.
SQL0091W Precompilation or binding was ended with "0"
errors and "0" warnings.
-- CONTENTS OF C:\ecentre\SQLLIB\function\routine\sr_cpath.bat
-- CONTENTS OF C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp\P9161521.BAT
@echo on
set SQLROUTINE_FILENAME=P9161521
set db2path=C:\ecentre\SQLLIB
-- COMPILATION COMMAND:
nmake /f C:\ecentre\SQLLIB\function\routine\sqlproc.mak
-- CONTENTS OF C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp\P9161521.def
LIBRARY P9161521
EXPORTS _pgsjmp@8
pgsjmp=_pgsjmp@8
-- COMPILATION MESSAGES FOR C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp\P9161521.c
-- C COMPILATION ERROR CODES: 0 0 1
C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp>set SQLROUTINE_FILENAME=P9161521
C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp>set db2path=C:\ecentre\SQLLIB
C:\ecentre\SQLLIB\function\routine\sqlproc\ECSYS\E CSYS\tmp>nmake /f C:\ecentre\SQLLIB\function\routine\sqlproc.mak
'nmake' is not recognized as an internal or external command,
operable program or batch file.
-- END OF LOG FILE (SQLCODE: -7032)
ECSYS.UPDATE_USER - Build failed.
ECSYS.UPDATE_USER - Roll back completed successfully.
The entry of Compiler in SQLLIB\FUNCTION\ROUTINE is like below
COMPILER=MS
#COMPILER=IBM
Can anybody help me in resolving this. Any assistance in this regards is highly appreciated.
Thanks and best regards,
Krishna.