× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Can we retrieve stored procedure return result sets with RPG IV?
  • From: "Westdorp, Tom" <Tom.Westdorp@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 22 May 2001 10:59:09 -0700

Is it possible to retrieve stored procedure result set(s) using RPGIV?  If
so, can someone point me to the manual or an example?

The 'DB2 UDB for AS/400 Advanced Database Function' Redbook (SG24-4249-02)
for v4r5 says (in a note on Page 270) that "Some traditional programming
languages, such as RPG and COBOL, are not able to retrieve stored procedure
return result sets."  Is that still true for v5r1?

I created a test db, added a stored procedure to create a result set and can
see it in Ops Nav, but now how do I get it into my program? Currently it's
all on the iSeries but when in production the database in question will be
on a win2k box running SQL 7.0.

I'm trying to get a small database replicated from the mickey mouse 2k box
of the vendor to the business systems on the iSeries.

Thanks!

Tom Westdorp
AS/400 Senior Programmer/Analyst 
IBM Certified Specialist - RPG IV Programmer
IBM Certified Specialist - RPG IV Developer 
Certified Master RPG IV Programmer 
Voice: (702) 221-6859
Fax:    (702) 221-6881
tom.westdorp@stationcasinos.com <mailto:tom.westdorp@stationcasinos.com>  

==> The trouble with hitting the jackpot on a slot machine is that it takes
so long to put the money back.



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.