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



James H. H. Lampert wrote:
Uh, Rob, we're talking about VIEWS, not TABLES. And so far as I'm
aware, SQL has no concept equivalent to a keyed logical file,
i.e., a construct that imposes BOTH an index AND a format upon a
physical file, OTHER THAN what is intrinsic to the physical file.
An index cannot reformat the records; a view cannot resequence
them, and there appears to be no way within SQL to arc-weld the
two together into a single construct (although a DDS LF will use
any existing SQL-generated index that is relevant).

See CREATE INDEX syntax diagram in the IBM i 6.1 InfoCenter.

At any rate, though, the issue I bring up here (as opposed to the
one I bring up on the MI list) is that for some reason, RLA is
failing to honor the WHERE clause in an SQL view (so far as I'm
aware, it's only doing it for one record in one file), and I'm at
a complete loss to understand why.

The query debug messages might give some insight; i.e. to reproduce the scenario might require the same implementation.

Regards, Chuck

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.