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



On 02 Jul 2013 23:58, Birgitta Hauser wrote:
If you can execute RUNSQL, I'd neither use Query/400 nor QMQRY.

RUNSQL has its place, but there is no report writer with that command.

Even though SELECT is not supported, it is possible to create a
(temporary) SQL VIEW representing the result of an SELECT statement.
This view can be registered with the DCLF command and read with the
RCVF command. The only downside is, the sequence of rows returned by
the view cannot be predefined.

Yet the OPNQRYF can effect ordering in an ODP that is shared with the RCVF.

If the records must be returned in a specific sequence, creating a
temporary table based on a SELECT statement with an ORDER BY clause
and reading this temporary table may be an option.

And using a shared query ODP means that no temporary table is required.

--
Regards, Chuck
--

Are you suggesting running OPNQRYF against a VIEW? Perhaps a VIEW in QTEMP?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.