DB2 Version 9.7 for Linux, UNIX, and Windows

DisableMultiThread CLI/ODBC configuration keyword

Disables multithreading.

db2cli.ini keyword syntax:
DisableMultiThread = 0 | 1
Default setting:
Multithreading is enabled.
Usage notes:
 

The CLI/ODBC driver is capable of supporting multiple concurrent threads.

This option is used to enable or disable multi-thread support.
  • 0 = Multithreading is enabled (default).
  • 1 = Disable multithreading.

If multithreading is disabled then all calls for all threads will be serialized at the process level. Use this setting for multithreaded applications that require serialized behavior.

(This option is contained in the Common section of the initialization file and therefore applies to all connections to DB2®.)