× 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.



I've never tried this -- but here's a crazy idea that might (or might not?) work...

How about if you take the ones that are using QTEMP files and change them into separate stored procedures -- that each load the data into arrays, and just return the array (nothing else -- just one result set). so that you now have 3 separate stored procedures, each returning one array.

THEN create a stored procedure that calls the other 3, and returns cursors to the 3 stored procedures. In that way, you can return multiple result sets (since they are all cursors from the procedure that does 3 result sets) but there's no need for QTEMP because everything is actually an array under the covers.

Like I said... never tried it, but might be worth looking into?

On 12/15/2014 4:04 PM, Justin Taylor wrote:
Unless IBM has relaxed the restriction, you can only return a single array to a stored procedure.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.