IBM Books

Administrative API Reference

sqleGetCurrentCtx - Get Current Context

Returns the current context associated with a thread.

Scope

The scope of this API is limited to the immediate process.

Authorization

None

Required Connection

None

Version

sql.h

C API Syntax



int sqleGetCurrentCtx (
void           **ppCtx,
void           *reserved,
struct sqlca   *pstSqlca);

API Parameters

ppCtx
Output. A data area allocated out of private memory for the storage of context information.

reserved
Reserved for future use. Must be set to NULL.

pstSqlca
Output. A pointer to the sqlca structure. For more information about this structure, see SQLCA.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]