Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / February 2006

Tip: Looking for answers? Try searching our database.

Debugging SQL stored procedure using developement center

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nikhilbhavsar@gmail.com - 28 Feb 2006 10:13 GMT
Hi Frnds ,
I want to debug a stored procedure.
It is written in SQL. I am using Developement center for creating
stored procedures.

I built the stored procedure with Debug option and also performed BIND
operation.

When click on Debug menu and enter the Input parameters for the stored
procedure ,
i get folowing exception / error :

VL000039 - Debug started.
VL000039 - Exception occurred while debugging:
[IBM][CLI Driver][DB2] SQL0440N No authorized routine named
"DB2DEBUG.CREATE_SESSION" of type "" having compatible arguments was
found. SQLSTATE=42884

Friends , please help me ..
Serge Rielau - 28 Feb 2006 10:44 GMT
> Hi Frnds ,
> I want to debug a stored procedure.
[quoted text clipped - 15 lines]
>
> Friends , please help me ..

How many parameters does your procedure have, how many arguments do you
pass? I presume (since you created the routine) that you have EXECUTE
privilege on the procedure?

Signature

Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

nikhilbhavsar@gmail.com - 28 Feb 2006 11:05 GMT
The stored procedure takes 5 input parameters.
And i pass all 5 arguments.Also i have execute privilege on the
procedure
Serge Rielau - 28 Feb 2006 11:22 GMT
> The stored procedure takes 5 input parameters.
> And i pass all 5 arguments.Also i have execute privilege on the
> procedure

Can you call the procedure from command line?
db2 "CALL ....."

Cheers
Serge
Signature

Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.