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 > debugging db2 stord procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-20-04, 00:59
Parijat Parijat is offline
Registered User
 
Join Date: May 2004
Posts: 6
debugging db2 stord procedure

Hi all,

Is there any way by which a db2 stored procedure can be debugged something like dbms_output.put_line in oracle .
Please reply urgently

Regards,
Parijat
Reply With Quote
  #2 (permalink)  
Old 05-20-04, 02:43
sathyaram_s sathyaram_s is online now
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Two options :

1) Use the Debug facility provided by Dev Centre (was known SPB in V7). You can build the proc for debug and run in debug mode by stepping through each line in your SP . You can also create breakpoints
2) Use the sample UDF provided in http://www-106.ibm.com/developerwork...0302izuha.html


HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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