ReceiveTimeout CLI/ODBC configuration keyword
Specifies the time in seconds to wait for a reply from the server on an established connection before terminating the attempt and generating a communication timeout error.
- db2cli.ini keyword syntax:
- ReceiveTimeout = 0 | 1 |2 | ... | 32767
- Default setting:
- The client waits indefinitely for a reply from the server on an established connection.
- Equivalent connection attribute:
- SQL_ATTR_RECEIVE_TIMEOUT
- Usage notes:
-
This keyword has no effect during connection establishment and is only supported for TCP/IP protocol.
One second is the smallest interval for checking the timeout value. Therefore, the timeout event can take up to an additional second after the set timeout value.