This topic is about why and how you should run your DB2® UDB CLI applications in server mode.
SQL server mode circumvents these limitations by routing all SQL statements to separate jobs. Each connection runs in its own job. The system uses prestart jobs in the QSYSWRK subsystem to minimize the startup time for each connection. Because each call to SQLConnect can accept a different user profile, each job also has its own commit transaction. As soon as the SQLDisconnect has been performed, the job is reset and put back in the pool of available jobs.