LockTimeout IBM data server driver configuration keyword
Sets the default value of the LOCKTIMEOUT configuration parameter.
- Equivalent CLI keyword
- LockTimeout
- Equivalent IBM® data server provider for .NET connection string keyword
- N/A
- IBM data server driver configuration file (db2dsdriver.cfg) syntax
<parameter name="LockTimeout" value="-1 | 0 | positive integer ≤ 32767"/>
- Default setting:
- Timeout is turned off (-1). Applications wait for a lock until either the lock is granted or deadlock occurs.
- Usage notes:
The LockTimeout keyword specifies the number of seconds an application waits to obtain locks. If the keyword is set to 0, locks are not waited for. The -1 setting causes the application to wait indefinitely until either the lock is granted or deadlock occurs.