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