|
Thank you for your response. I will try to provide a more detailed outline of the requirements: Business Goal: To retrieve a number of records from different database sources, that are loosely connected by a single key (account number), format the data to a usable content/context and return all the data to a Web based XML powered application. As outlined: The use/requirement for a "result set" is the method I am most familiar with. Other options are certainly possible. My limited knowledge in communicating with Web based intra/inter- net applications is in turn, based on SQL, either in native form inside a stored procedure, or in native form inside an RPG/LE program, which is called/executed by a defined stored procedure. My other team member is more client/server based in his knowledge. His knowledge is somewhat limited in the acquisition/use of AS/400 based data. He is constructing the front end of the application, I've been charged with constructing the back-end (data I/O). I have constructed the RPG/LE code to read required data from all five tables and capture the data read. What I lack is the knowledge of how to provide that data back to the front-end. Up until this point, I thought it would be via imbedded SQL, with a "result set" returned. Jim Low Software Systems Engineer, Sr. "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 03/26/2003 08:30 PM Please respond to "RPG programming on the AS400 / iSeries" To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc: Subject: RE: RPG/LE SQL Result Sets - A real Challenge > I have a need to return a result set, that unto itself will have five (5) > imbedded result sets. What is the business goal here? To turn data into an XML document? Because retrieving heterogenous sets of data, while not the strength of SQL, is simple for RPG and DB2/400. If the idea is to retrieve a number of records from different database files and then transform the fields of those records into entries in an XML document, you can do this in RPG without breaking a sweat. However, you seem to need a "result set" in the middle of all this, for a reason that's not clear. Perhaps if you could state the entire program flow it might be easier to address the problem. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx 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.