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



Where are you getting that error? On the OPEN of the cursor? Actually I
suspect it is on the fetch. And, I suspect that one of the fields on your
SELECT is not a match for the resultant field in :sqlresult.

You could go wild and create a view that is a join of these two files with
just the fields you want. Then make sqlresult an externally defined data
structure of that join. Would take out some of the field selection in
your SQL statement also. Balance that with how many places you'd use this
join. Some people (especially those who used to code on AS/400's) seem to
live and die by early statements by John Sears on how multiple LF's can
really affect performance. Not so much an issue on iSeries. And NOT just
because of money thrown at processor, etc. Some nice design enhancements.

Rob Berendt

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.