|
At 00:45 12/04/2002, you wrote:
Pete, Yes, latest DB Group and Hipers and latest Client Access (now called I-Series Access) - not sure if there is a service pack for it - will check.
OK. I've had problems a few times with QQQOPTIM, the query optimizer. It's got to be one of the scarier pieces of code at IBM. It will build access plans differently for interactive jobs vs batch jobs, when running the same query. Interactive jobs are optimized for quickest display of the initial page of data, batch jobs are optimized for quickest completion. Since you say ISQL seems to work correctly, but client server (batch) jobs don't, how about taking your successful ISQL query, compiling it into a QMQRY object (CRTQMQRY), and executing it in batch. See if that duplicates your results with the client server jobs. If so, the indication is a problem with the optimizer. Pete Hall pbhall@ameritech.net http://www.pbhall.us/
As an Amazon Associate we earn from qualifying purchases.
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.