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



> when I run it in the RPG program the optimizer builds its own access 
path
> and takes 3 minutes to execute. 
> 

I think it depends on when the logical was created. I think the optimizer 
search for logical up to a certain point. If it is not in that range it 
creates it's own.   So if say the logical that matched your SQL was the 
third one created over the PF it would find and use but say it was the 
nineteenth it would not. Could be wrong but thought I remembered this 
problem with BPCS a while back. Do not know if optimizer has changed. Do 
know that  I fixed a lot of BPCS long running jobs by recompiling Logicals 
in a order that the SQL's could pick them up. But like I said it has been 
a while and things do change.

Thanks 
Bill Hopkins 

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.