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





Hi All,

I like some help in understanding what IBM's memo implies. I have included
the memo at the bottom of this email.

Would you be able to tell if IBM intends this memo only if RPG is using
SETGT or SETLL as it states literally on the memo.

Or does the problem extend to all File positioning operations including
CHAIN/READE/READPE.


*IBM's memo about RPG application and OPNQRYF key mismatches might produce
different results*

Existing RPG applications that position a file using SETLL or SETGT with
*LOVAL or *HIVAL, where the
file corresponds to an OPNQRYF native query, might produce different
results in v7r2 than in prior
releases.

This difference will only occur in cases where the RPG application was
compiled with a file
having a different key definition than what was specified on the OPNQRYF
KEYFLD parameter. This mismatch
was typically caught at application coding time, and corrected. However,
certain mismatches can appear
to produce the results expected by the programmer, and so it was not
previously discovered. In v7r2,
depending on the nature of the mismatch, the behavior may be different.

If this mismatch is discovered, the application should be recompiled to
ensure the key definitions match.
Also, if SETLL or SETGT with *LOVAL or *HIVAL is used only to position to
the top or bottom of a collated result set,
then consider using SETLL *START or *END, which does not require keys
generated by the compiler

----
Regards,
Mohan Eashver



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.