473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Debugging SQL stored procedure using developement center

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 ..

Feb 28 '06 #1
3 2455
ni***********@gmail.com wrote:
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 ..

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?

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Feb 28 '06 #2
The stored procedure takes 5 input parameters.
And i pass all 5 arguments.Also i have execute privilege on the
procedure

Feb 28 '06 #3
ni***********@gmail.com wrote:
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
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Feb 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
7
by: Douglas Buchanan | last post by:
I can't seem to open SQLS2k Stored Procedures in the IDE I am running MDE 2003 Version 7.1.3088 I have a MSDN professional subscription and did a complete install of vs.net Help explains how...
3
by: Rhino | last post by:
I've spent the last couple of hours trying to figure out how to debug a Java stored procedure and am just going in circles. The last straw came when I got "Cannot open input stream for default"...
0
by: Raquel | last post by:
UDB PE 8.1 on XP. Have developed a simple java stored procedure using Development Center. Performed a "Build for Debug". Now, how do I actually perform the debugging? There 'is' a "Debug" option...
1
by: Raquel | last post by:
Have a question on the Stored procedure method code generated by DB2 development center for Java stored procedures. Suppose I have a requirement to return the resultset consisting of FIRSTNME,...
5
by: Rhino | last post by:
I am trying to determine the behaviour of stored procedures in DB2 V8.2.x in Windows/Unix/Linux and how I can control that behaviour. Some documentation in the manuals is confusing the issue...
3
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
0
by: nikhilbhavsar | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.