Irrespective of DYNSLT, the join is dynamic. Without DYNSLT the selection is built into the index objects created to implement the join and selection. If the join fans out extensively, the performance will be worse than when it does not. Does the selection eliminate a large number of records from the file; the request to DSPFD of the LF will show the "Number of index entries" for each based-on file.

The given JLF DDS source appears to add the second file but not use any data from that file; i.e. no fields prefixed with B3E are included, neither in the format nor in the selection. Is that joined file perhaps causing a large and unexpected fanout, that is then being reduced by the selection?

Regards, Chuck

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].