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

I don't see any difference in what they actually do. The system value can be set, and you can override with the CHGQRYA command inside a job. Or you can override it in a QAQQINI file.

No matter what, the optimizer estimate the run-time, and if the estimate is greater than this value, the query is not started.

This is an estimate only - queries COULD take longer, but this might give you some control. Maybe you would want to create different QAQQINI files for different scenarios. You don't want to do something that will block your regular batch reports or the like.

But you could add either the CHGQRYA command to the initial program for certain users, or use the several settings in a QAQQINI.

HTH
Vern

On 7/6/2016 4:48 PM, Justin Taylor wrote:
We've had a number of run-away queries, and I'd like to set some limits. It looks to me like both QQRYTIMLMT (http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzakz/rzakzqqrytimlmt.htm) and QAQQINI (https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzajq/qryopt.htm) would work. I'm just curious if anyone knows of any practical difference between the two options.

Thanks




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.