The cancel query feature allows users to stop the slow or incorrect queries. If the query does not return records within a given number of seconds (the timeout period), a dialog box appears, which allows the user to cancel the query.
The cancel query feature is enabled through the CancelQueryTimeOut parameter in the [SWE] section of the application configuration file (CFG).
Steps to enable the Cancel Query Feature:
1) Open your application’s configuration file, for example uagent.cfg.
2 ) Change the CancelQueryTimeOut parameter to
CancelQueryTimeOut = timeout where timeout is any integer of zero or greater.
For example,if CancelQueryTimeOut = 3, the cancel query dialog box appears if records are not returned within 3 seconds.
NOTE:A timeout value of less than zero, for example, -1, disables the feature.