CONNX Data Integration Suite 14.8.0 | CONNX Embedded SQL for Adabas | ACEAPI | ACEAPI Argument Functions | SAGContext
 
SAGContext
Description
SAGContext is used to support multithreaded applications. It is the application's responsibility to hold the context in a manner which allows the API to be called from different threads during a session. The structure must be initialized to NULLS prior to being used for the first time. Subsequent modifications of SAGContext by the application may have undesirable side-effects and should be avoided.
Example
typedef struct
{
SAGPointer multithreaded_context_pointer;
int async_id [2];
SAGPointer itc_ptr;
int reserved [10];
}
SAGContext;