|
http://faq.midrange.com/data/cache/5.html this link might help u in detail. -----Original Message----- From: Tanveer, Mohammad Sent: Tuesday, February 12, 2002 1:36 PM To: 'rpg400-l@midrange.com' Subject: RE: stored procedures Well its so simple :-) you can store all your records in array and just return it to stored procedure. C/EXEC SQL SET RESULT SETS ARRAY :ARR FOR :L# ROWS C/END-EXEC -----Original Message----- From: Gord Royle [mailto:GRoyle@cott.com] Sent: Tuesday, February 12, 2002 12:25 PM To: 'rpg400-l@midrange.com' Subject: RE: stored procedures Hi Mohammad Output of results sets is something that I've been struggling to understand (learn how to do) for some time. All of the manual(s) examples that I've seen show the standard 'updata a update b ubdate c tell me it happened' syntax, but I couldn't find any examples that returned results sets. Would you care to share your code? Thanks Gord Royle Cott - The Leader in Premium Retailer Brand Beverage Innovation. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.