You gave EXECUET privilege to PROCUSER on what? The procedure being
recompiled or PSMD_SET_COMPILEMODE()?
DB2 is complaining about the later.
Cheers
Serge
"Kaushal Anand "
<db2udbdba-ezmlms
hield-x45982005.x To
[Email Address Removed] "LazyDBA Discussion"
a.com> <[Email address protected]
cc
03/22/2006 01:49
AM Subject
Unable to build!!
i have given the execute privelege to the user PROCUSER but for some reason
the user is not able to compile the procedure. are there any other
privileges that i need to give.
the following error is displayed.
EONE.PASSIGN_WORK_INITIAL - Build for debug started.
DROP SPECIFIC PROCEDURE EONE.SQL060322120335572
EONE.PASSIGN_WORK_INITIAL - Drop stored procedure completed.
[IBM][CLI Driver][DB2/NT] SQL0551N "PROCUSER" does not have the privilege
to perform operation "EXECUTE" on object "SYSPROC.PSMD_SET_COMPILEMODE".
SQLSTATE=42501
EONE.PASSIGN_WORK_INITIAL - Build for debug failed.
EONE.PASSIGN_WORK_INITIAL - Roll back completed successfully.
______________________________
Anand Kaushal
Software Engineer - Database
Lionbridge
5th Floor, Spectra Building,
Hiranandani Business Park,
Powai, Mumbai - 400 076
+91-22-55567000x7079 (office)
+91-9819210090 (mobile)
www.lionbridge.com
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
DB2 & UDB email list listserv db2-l LazyDBA home page