Creates an application context, or creates and then attaches to an application context. More than one application context can be created. Each context has its own commit scope. Different threads can attach to different contexts (see sqleAttachToCtx - Attach to Context). Any database API calls made by such threads will not be serialized with one another.
Scope
The scope of this API is limited to the immediate process.
Authorization
None
Required Connection
None
Version
sql.h
C API Syntax
int sqleBeginCtx ( void **ppCtx, sqlint32 lOptions, void *reserved, struct sqlca *pstSqlca); |
API Parameters