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



I would try a traditional index. Like, CREATE INDEX. In V5r4, there was a
CQE (classic query engine) and an SQE (new query engine). Anyway, SQE
couldn't use traditional logicals until more recent releases. If the
optimizer is choosing to use SQE, it might not be able to use your logical.
There are some tools, like STRDBG and iNavigator that can tell you what
logicals if any were used during the query at that release. You could also
try to force the CQE by selecting against the logical instead of the
physical file, but its been a long time and I don't recall the exact
behavior of those two engines at that level of OS.


Yes there is a LF with a single primary unique key.

I always use SQL first if possible.

But this takes an hour to run in SQL, where RPG would run in a few
seconds - because I would read sequentially thru the tiny file and
then chain to the giant file.

It seems odd that SQL cant figure out to read sequentially thru the
tiny file and then link to the giant file where the keys match.

I was hoping I could force or nudge SQL to read the tiny file as primary.


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.