Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Returning a COBOL result set to WEB application

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
gerry sepulveda

New User


Joined: 22 Jun 2010
Posts: 2
Location: Kansas City

PostPosted: Tue Jun 22, 2010 8:59 pm    Post subject: Returning a COBOL result set to WEB application
Reply with quote

I'm not really sure if this topic was discussed earlier but here goes.
I have been tasked to create a stored procedure that will return a result set to a web application.
I do know the result set will have a max of 25 rows with approx 10 columns based on account number.
I plan on using 2 sub-modules to produce the date and return the information to the stored procedure.
From information I already have, the stored procedure must declare a temp table, open a cursor to the temp table for the web app to fetch.

My specific questions are:
1. At what point would I call the sub-modules to load the temp table?
2. Would the linkage section variables be the temp table or the individual columns.
3. would the sub-modules be call with each fetch from the web app?

Any information is helpful

Thanks
Gerry
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Tue Jun 22, 2010 10:04 pm    Post subject:
Reply with quote

One of the following Redbooks may be of some assistance:

DB2 for Z/OS Application Topics

DB2 Vsn 9 for Z/OS Stored Procedures

DB2 for Z/OS Stored Procedures

Latest Redbooks
you can use the above url to perform a search on web related topics.
Back to top
View user's profile Send private message
gerry sepulveda

New User


Joined: 22 Jun 2010
Posts: 2
Location: Kansas City

PostPosted: Tue Jun 22, 2010 11:02 pm    Post subject: Reply to: Returning a COBOL result set to WEB application
Reply with quote

I've gotten the basic information from the RedBooks mentioned however, the basic information doesn't explain the question as to when to call the sub-modules, when the cursor is called, etc..

I have seen information about loading the temp table, that piece is self-explanatory.

Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help - DB2 Dynamic SQL Program e... NikhilGuptaGaya DB2 5 Sat Jun 23, 2018 1:58 pm
This topic is locked: you cannot edit posts or make replies. Issue in suppressing leading zeros &a... Vijay_Sirisha COBOL Programming 21 Thu Jun 07, 2018 8:01 pm
No new posts VBS to VB in COBOL and JCL srajendran2 COBOL Programming 12 Fri Jun 01, 2018 3:04 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us