View previous topic :: View next topic
|
Author |
Message |
arun.gopal Warnings : 1 New User
Joined: 25 Jul 2006 Posts: 9 Location: Kerala, India
|
|
|
|
Hi All,
Can any one tell me
1. How to write and compile a COBOL-DB2 stored procedure?
2. What all are the compiler option?
3. How I will call this stored procedure in my COBOL program?
Thanks in Advance.
NOTE: This is not a duplicate question in the forum since I searched and gone thru all the similar questions in forum and the liks that was given in the answers to that. I didn't find any concrete answers for this.
I need some working examples from who really wrote a COBOL-DB2 SP. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
arun.gopal Warnings : 1 New User
Joined: 25 Jul 2006 Posts: 9 Location: Kerala, India
|
|
|
|
Thanks for the reply, BUT the link that you provided I am already gone thru but didn't get any answer for there... This is already mentioned in my query..
To be more clear, I need a working example of this question,
like
a. What all are the options by which I can create the Stored procedure (Not the commands, like CREATE PROCEDURE),
b. How I will compile that SP?.
c. How should I compile the Cobol program if I need to call this SP? etc. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I did read the fact that you had searched all pertinent posts regarding Stored Procedures. But many times members find that the OP's searching was not as thorough as one may think.
However, that's all I can suggest.
Perhaps another member could be of assistance?
Bill |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
The SDSNSAMP data set contains samples for developing SQL stored procedures. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
an additional resource is DB2 for z/OS Application Programming Topics
and
you could join IBM Developerworks which has a number of additonal resources for your use.
questions 1 and 3 are covered in the links provided by Bill,
question 2 is covered in any COBOL Ref Manual (buttons at top of the page).
back to question 1 (and 3) - this is a site specific thing, suggest you speak with the appropriate support group in your organization - or read some of the documentation provided by your organization. |
|
Back to top |
|
|
arun.gopal Warnings : 1 New User
Joined: 25 Jul 2006 Posts: 9 Location: Kerala, India
|
|
|
|
Thanks.... |
|
Back to top |
|
|
|