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 > Stored Procedure issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-09, 06:25
anoopsober anoopsober is offline
Registered User
 
Join Date: Dec 2008
Posts: 3
Stored Procedure issue

Hi ,

I am using DB2 Work Group Server Edition (Windows). I am quite new to DB2 and DB2 stored procedure. Somehow I managed to write several lines of code for the stored proc, but when the cursor holds number of rows above 100 my output shows the below and is not continuing

spDefectList - Run information has been updated.
DB2ADMIN.SPDEFECTLIST - Run started.
Data returned in result sets is limited to the first 100 rows.
Data returned in result set columns is limited to the first 20 bytes or characters.

If anyone has any view on this please help me out.


Thanks and regards,
Anoop
Reply With Quote
  #2 (permalink)  
Old 01-27-09, 08:08
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
How about posting the stored procedure definition and which version of DB2 are you using?

Andy
Reply With Quote
  #3 (permalink)  
Old 01-27-09, 08:59
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
are you using developer workbench for SP. It usually returns the first 100 rows. Just check there must be a option somewhere to disable it
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #4 (permalink)  
Old 01-27-09, 10:43
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
AFAIK, there is no option to disable it ... If you want the full output, run it from a command window
__________________
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