IBM Books

Administrative API Reference

sqlefmem - Free Memory

Frees memory allocated by DB2 APIs on the caller's behalf. Intended for use with sqlbtcq - Tablespace Container Query and sqlbmtsq - Tablespace Query.

Authorization

None

Required Connection

None

Version

sqlenv.h

C API Syntax



/* File: sqlenv.h */
/* API: Free Memory */
/* ... */
SQL_API_RC SQL_API_FN
  sqlefmem (
    struct sqlca * pSqlca,
    void * pBuffer);
/* ... */
 

Generic API Syntax



/* File: sqlenv.h */
/* API: Free Memory */
/* ... */
SQL_API_RC SQL_API_FN
  sqlgfmem (
    struct sqlca * pSqlca,
    void * pBuffer);
/* ... */
 

API Parameters

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

pBuffer
Input. Pointer to the memory to be freed.

Sample Programs

C
\sqllib\samples\c\tspace.sqc

COBOL
\sqllib\samples\cobol\tspace.sqb

FORTRAN
\sqllib\samples\fortran\tspace.sqf


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

[ DB2 List of Books | Search the DB2 Books ]