Ends a database history records scan and frees DB2® resources required for the scan. This API must be preceded by a successful call to the db2HistoryOpenScan API.
None
Instance. It is not necessary to call the sqleatin API before calling this API.
db2ApiDf.h
SQL_API_RC SQL_API_FN
db2HistoryCloseScan (
db2Uint32 versionNumber,
void * piHandle,
struct sqlca * pSqlca);
SQL_API_RC SQL_API_FN
db2gHistoryCloseScan (
db2Uint32 versionNumber,
void * piHandle,
struct sqlca * pSqlca);
For a detailed description of the use of the database history records APIs, refer to the db2HistoryOpenScan API.