Kurt Anderson wrote:

Both the old and new version of the PF/Table are not keyed.
Here's the Override and OpnQryF that was being used.

OVRDBF FILE(SUMMARYP) SHARE(*YES) OPNQRYF FILE((SUMMARYP)) QRYSLT('SUMTYP *EQ "4"') +
KEYFLD((PRDLVL) (SVCLVL) (BSLVL))
The quick fix, for better or worse (better for getting the fix done now, and future understanding; worse for lack of knowing
what the specific issue was), we created a logical to do what the
OPNQRYF was doing and changed the program to use the logical.


By chance were any programs recompiled? The above shows the typical but often incorrect "defaulted" scoping for the override; i.e. OVRSCOPE() is unspecified, thus can vary according to the parameter default. Was the incorrect result possibly the result of the program reading the actual TABLE rather than reading from the shared ODP? Thus perhaps the incorrect result was not only for unordered rows, but also for being inclusive of all rows rather than only those rows with selected value for the column SUMTYP?

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