MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stored Procedure

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Tue May 24, 2005 3:22 pm    Post subject: Stored Procedure Reply with quote

Is there any limitation in having IN & OUT parameters in a stored procedure. We got a situatuion to handle more than 100 variables to be received from SP. I searched the google could not found the specific to this one. I wonder if we can have this many or to have in different SPs. Any reply on this would be a great help.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue May 24, 2005 7:26 pm    Post subject: Reply with quote

schintala,

Prior to DB2 version 6 Stored procedures could only allow up to 254 bytes. It does not matter how many variables you define, the total size cannot be more than 254 for Db2 versions 4 and 5

From DB2 version 6, the limit was raised to 32,767 bytes. so you can define 32,766 variables with a size of 1 byte each.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group