PeopleTools Initialization Procedures
This topic discusses the PeopleTools initialization procedures in alphabetical order.
Syntax
RETCODE SQLAllocEnv(phenv)
Description
SQLAllocEnv allocates memory for an environment handle and initializes the ODBC call level interface for use by an application.
Parameters
This table describes the parameter:
Argument |
Type |
Use |
Description |
---|---|---|---|
phenv |
HENV FAR * |
Output |
Pointer to storage for the environment handle. |
Syntax
RETCODE SQLAllocConnect(henv,phdbc)
Description
SQLAllocConnect allocates memory for a connection handle within the environment, identified by henv. This is called after SQLAllocEnv.
Parameters
This table describes the parameters:
Argument |
Type |
Use |
Description |
---|---|---|---|
henv |
HENV |
Input |
Environment handle. |
phdbc |
HDBC FAR * |
Output |
Pointer to storage for the connection handle. |
Syntax
RETCODE SQLFreeEnv(henv)
Description
SQLFreeEnv releases an environment handle and frees all memory that is associated with the handle. This is called after SQLFreeConnect.
Parameters
This table describes the parameter:
Argument |
Type |
Use |
Description |
---|---|---|---|
henv |
HENV |
Input |
Environment handle. |