LockTimeout CLI/ODBC configuration keyword
Sets the default value of the LOCKTIMEOUT configuration parameter.
- db2cli.ini keyword syntax:
- LockTimeout = -1 | 0 | positive integer ≤ 32767
- Default setting:
- Timeout is turned off (-1), with the application waiting for a lock until either the lock is granted or deadlock occurs.
- Usage notes:
The LockTimeout keyword specifies the number of seconds a CLI application will wait to obtain locks. If the keyword is set to 0, locks will not be waited for. The -1 setting causes the application to wait indefinitely until either the lock is granted or deadlock occurs.