Hello Debbie,
Google on RPG, Stored Procedure and ResultSets.
This should give you some good hits. iSeriesNetwork has some examples.
If you need any consulting help, feel free to contact me directly
offline and we can probably help you.
Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
------------------------------
message: 7
date: Tue, 12 Aug 2008 12:14:51 -0600
from: "DebbieKelemen" <DebbieKelemen@xxxxxxxxxxx>
subject: Returning a Results Set from a Stored Procedure
I hope this is the right group to ask maybe not. However, I will start
here. I want to create a Stored Procedure which will be used by a
windows
form application. To present the data quicker I want to use an RPG
program
underneath the covers. How can I return a result set from an RPG
program?
I am used to sending all of my fields back as individual parms. The
programmer developing the windows form application has asked for a
single
result set. We do this with SQL all the time however the data we are
going
after is in multiple files and it is single record time access which has
better performance with RPG.
Can someone point me in the right direction?
Debbie Kelemen
Sr. Programmer / Analyst
CHEFS
719-272-2617
dkelemen@xxxxxxxxxxxxxxxx
www.chefscatalog.com
As an Amazon Associate we earn from qualifying purchases.