db2ReadLogNoConnTerm API - Terminate reading the database logs without a database connection
Deallocates the memory used by the db2ReadLogNoConn API, originally initialized by the db2ReadLogNoConnInit API.
This API can only be used with recoverable databases. A database is recoverable if the database configuration parameters logarchmeth1 or logarchmeth2, or both, are not set to OFF.
Authorization
None
Required connection
None
API include file
db2ApiDf.h
API and data structure syntax
SQL_API_RC SQL_API_FN
db2ReadLogNoConnTerm (
db2Uint32 versionNumber,
void * pDB2ReadLogNoConnTermStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2ReadLogNoConnTermStruct
{
char **poReadLogMemPtr;
} db2ReadLogNoConnTermStruct;
db2ReadLogNoConnTerm API parameters
- versionNumber
- Input. Specifies the version and release level of the structure passed as the second parameter pDB2ReadLogNoConnTermStruct.
- pDB2ReadLogNoConnTermStruct
- Input. A pointer to the db2ReadLogNoConnTermStruct structure.
- pSqlca
- Output. A pointer to the sqlca structure.
db2ReadLogNoConnTermStruct data structure parameters
- poReadLogMemPtr
- Output. Pointer to the block of memory allocated in the initialization call. This pointer will be freed and set to NULL.