sqleSetTypeCtx API - Set application context type
Sets the application context type. Any calls to the sqleSetTypeCtx API has no effect in the current releases.
Scope
The scope of this API is limited to the immediate process.
Authorization
None
Required connection
None
API include file
sql.h
API and data structure syntax
SQL_API_RC SQL_API_FN
sqleSetTypeCtx (
sqlint32 lOptions);
sqleSetTypeCtx API parameters
- lOptions
- Input. Valid values are:
- SQL_CTX_ORIGINAL
- Specifying this option has no effect.
- SQL_CTX_MULTI_MANUAL
- Specifying this option has no effect.
Usage notes
Starting with Db2® Version 8, applications run in multithreaded mode by default. In previous versions, the default was to run applications in single-threaded mode. This change means that calls to the sqleSetTypeCtx API has no effect.