Enabling Cancel Query
The cancel query feature allows users to stop their 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).
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
*from TIP of the Day by Anil S Kumar, IBM
The cancel query feature is enabled through the CancelQueryTimeOut parameter in the [SWE] section of the application configuration file (CFG).
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
*from TIP of the Day by Anil S Kumar, IBM
Comments