Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
COBOL DB2 Stored Procedures

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
sandhyaimmadi

New User


Joined: 18 Aug 2008
Posts: 6
Location: Bangalore

PostPosted: Mon Sep 22, 2008 12:53 pm    Post subject: COBOL DB2 Stored Procedures
Reply with quote

Hi,

I need Cobol Db2 stored procedures material.
I want to learn about the SP programming.
If anyone have the link or material,could you please send it to me.

Thanks in advance


Regards,
Sandhya
Back to top
View user's profile Send private message
References
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2222
Location: Phoenix, AZ

PostPosted: Mon Sep 22, 2008 1:08 pm    Post subject:
Reply with quote

Hi,

For this you might to check this link..
Quote:
I want to learn about the SP programming.

Getting started with DB2 Stored procedures

And here
Quote:
I need Cobol Db2 stored procedures material.
Are you asking about the materail for "how to CALL a DB2 stored procedure or want to write a new DB2 procedure.."?
Back to top
View user's profile Send private message
sandhyaimmadi

New User


Joined: 18 Aug 2008
Posts: 6
Location: Bangalore

PostPosted: Mon Sep 22, 2008 1:21 pm    Post subject:
Reply with quote

Hi Anuj,

Thanks for the very quick reply.
I want to write a new cobol+DB2 stored procedure.
I need the programming concepts and all corresponding material.

Regards,
Sandhya.
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2222
Location: Phoenix, AZ

PostPosted: Mon Sep 22, 2008 1:50 pm    Post subject:
Reply with quote

Sandhya,

Your best bet would be to start with some existing COBOL+DB2 Stored Procedure at your shop, standards for such things will differ across shops.

At my shop, in such Procedures there is usually a Temporary table, a Global Table in program; OPEN cursor is the output of the program. Such Procedures are used to feed an input to a "screen" program which is called as "front end", to test Procedures either front-end should be ready with their codes or there is a Software called as "Proc Builder"...well but this is about my shop..approach would differ at your shop, probably.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1