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 

DB2 Stored Procedures

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


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Sat Dec 07, 2002 1:47 am    Post subject: DB2 Stored Procedures Reply with quote

Hi,

I need some help with DB2 Stored Procedures. I am coding a stored procedure in LE/COBOL. Now, I need to compile and link-edit it. I have heard that you have to include some call attach facility library while link-editing the stored procedure. Can anyone provide me some information on that. If someone can provide me with a sample JCL for link-editing the stored procedure with Call Attach Facility, that will be great.
I am trying to declare and open a cursor in the stored procedure and then fetching the cursor in my calling program using ASSOCIATE LOCATOR. If someone can provide me with some sample code on that(both calling program and stored proc) then that will be great.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Sat Dec 07, 2002 9:44 am    Post subject: Reply with quote

Manas biswal,

check this as it answers most of your questions.

Using stored procedures

Hope this helps...

cheers

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