+QTIMEOUT
n | An integer from 0 through 1800 indicating the maximum number of seconds to wait for a drain. The default is 0. You can change this default during configuration. |
When n is 0 (by specification or default), the actual timeout value is obtained from the QRETRY parameter duration timeout value.
Specify a +QTIMEOUT value less than or equal to the actual +QRETRY duration value that has been converted to seconds. If the +QTIMEOUT value is greater than the converted duration, it elongates the +QRETRY duration value.
When the +QRETRY duration is greater than the actual +QTIMEOUT duration value, BMC AMI Reorg uses the difference between the two values as the maximum time to hold a drain for the switch phase and fetching of modified Db2 pages from Db2 during the change apply cycle.
The difference between +QRETRY and +QTIMEOUT is that the +QRETRY duration covers both the time to wait for a drain and the time to hold a drain, while the +QTIMEOUT portion covers only the wait time.
You can try +QRETRY three times for a drain time (acquire drain and use it) of 10 seconds.
+QTIMEOUT only allows 5 seconds for drain acquisition.
In this example, without +QTIMEOUT if a drain takes 6 seconds to acquire will work.
With +QTIMEOUT(5), if the drain takes 6 seconds to acquire will fail.
This +QTIMEOUT value increases the wait time for the drain to 15 seconds.
This job can hold the drain for up to 20 seconds but fails the drain and retries if the job does not get the drain in 5 seconds. If the job gets the drain in 1 second it has 19 seconds left to capture and apply changes. We do not recommend to set +QTIMEOUT greater than +QRETRY.