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






Did you try STRDBMON on the job to see if the system has any
Index Advised suggestions.

Frank Kolmann

>from: Chris Payne <CPayne@xxxxxxxxxxxxxxx>>
>
>Hello,
>            I have an RPG ILE program in which I embedded a cursor. I
created a
>index on date (dtmv95) for the cursor to hit when I open the file. It
worked
>like a charm. But then I changed the date range in the cursor from being
>static to being brought in by a prompt. Now my program will not use my
index
>when it opens the cursor, it fails with reason code 6 which means that
"The
>keys of the access path did not match the fields specified for the join
>criteria."  I think that the optimizer is not 'seeing' the date criteria
in
>my select because they depend on variables, but I have no idea what to do
>about it. Does anyone out there have any experience with this problem?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.