ReceiveTimeout IBM data server driver configuration keyword

Specifies the time in seconds to wait for a reply from the server on an established connection before the attempt is terminated and communication timeout error is returned.

Equivalent CLI keyword
ReceiveTimeout
Equivalent IBM® data server provider for .NET connection string keyword
N/A
IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="ReceiveTimeout" value="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:

The ReceiveTimeout 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.

The ReceiveTimeout keyword is available for use with embedded SQL applications.