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 

Calling SQL Stored Procedure from Mainframes Cobol Program

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


Joined: 06 Jun 2003
Posts: 57
Topics: 20

PostPosted: Wed Aug 06, 2003 8:46 am    Post subject: Calling SQL Stored Procedure from Mainframes Cobol Program Reply with quote

Hi,

Please let me know how to call SQL Stored Procedure from Mainframes Cobol Program.Please provide me with some sample code.

And please let me know more information about WLM(Work Load Manager) Environment.
Some info which I have is as follows inside the bracket.

[ DB2 supports two methods of running Stored Procedures. One is running in a DB2-established Address Space of SPAS. The other and recommended way is in a WLM application environment.
Work Load Manager (WLM) is an operating system feature that allows for better management of work like jobs and OLTP.
The main difference is that WLM supports multiple Environments each running in a separate Address Space versus only one DB2-established Address Space.
Multiple environments enable better control and isolation of specific applications or specific types of Stored Procedures.
]

I have some document and going through it. But as I need to implement the Stored Procedures in WLM Environment in my Project soon.So, if anyone can provide me with the sample code, it will be useful for me.

Please let me know all the necessary things to be taken care.

Thanks in advance.
_________________
Have a Great Day.
Thanks & Regards,
Jai
Back to top
View user's profile Send private message Yahoo Messenger
Bithead
Advanced


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

PostPosted: Wed Aug 06, 2003 9:24 am    Post subject: Reply with quote

There is a very good Red Book from IBM called "Getting Started with Stored Procedures". It is on the IBM web site.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Aug 06, 2003 10:12 am    Post subject: Reply with quote

Jai,

As bithead pointed out, the right thing you need to do is read the manual. check the following for
Getting Started with DB2 Stored Procedures Manual.

The above manual answers all your queries.

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 -> Application Programming 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