× 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 03 Jul 2013 12:44, Dan Kimmel wrote:
On 03 Jul 2013 11:46, CRPence wrote:
On 02 Jul 2013 23:58, Birgitta Hauser wrote:
<<SNIP>>

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.


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


Yes. I often point out this potential capability [sometimes also noting there is a possibility of encountering limitations for the implementation of a CQE query over a VIEW that might inherently require SQE combined with either a user-requested or system-implementation imposes a restriction for inability of the SQE query to generate an true-temporary result set over which the CQE generates a query ODP].

http://archive.midrange.com/midrange-l/201306/msg00255.html
http://archive.midrange.com/midrange-l/201003/msg00795.html
http://archive.midrange.com/rpg400-l/200809/msg00070.html
http://archive.midrange.com/rpg400-l/201003/msg00085.html
http://archive.midrange.com/rpg400-l/201102/msg00550.html
http://archive.midrange.com/midrange-l/201304/msg01121.html


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.