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 

Steored procedures are not working from windows to mainframe

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


Joined: 14 Oct 2004
Posts: 130
Topics: 43
Location: virtual village

PostPosted: Tue Mar 08, 2005 10:14 am    Post subject: Steored procedures are not working from windows to mainframe Reply with quote

Hi,
We have stored procedures that call mainframe database tables. these are COBOL coded SPs. When we try to call SP from Stored procedure biulder it is giving the below error.[/color]


_________________
Thanks
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Mar 08, 2005 11:29 am    Post subject: Reply with quote

If STAYRESIDENT is set to YES, then you will need to refresh the load module after each change. Issue command /STO PROCEDURE(???) followed by /STA PROCEDURE(???) thru DB2I.

DB2 Version 5 kept the definition of the procedure in SYSPROCEDURES. Version 6 (I believe) moved it to SYSROUTINES. You now need to define or alter the procedure using DCL rather than by adding it to the table.
Back to top
View user's profile Send private message
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