Call Level Interface Guide and Reference

Use Multiple Threads rather than Asynchronous Execution

The asyncronous SQL model should only be used on non-threaded operating systems such a Windows 3.1. If your application cannot make use of multi-threading then see Asynchronous Execution of CLI.

Asynchronous SQL should NOT be used on platforms that support multiple threads.

Writing Multi-Threaded Applications describes why and how to make use of multiple threads with DB2 CLI. Some common uses include:


[ Top of Page | Previous Page | Next Page ]