Ends a recovery history file scan and frees DB2 resources required for the scan. This API must be preceded by a successful call to sqluhops - Open Recovery History File Scan.
Authorization
None
Required Connection
Instance. It is not necessary to call ATTACH before issuing this API.
API Include File
sqlutil.h
C API Syntax
/* File: sqlutil.h */ /* API: Close Recovery History File Scan */ /* ... */ SQL_API_RC SQL_API_FN sqluhcls ( unsigned short Handle, void * pReserved, struct sqlca * pSqlca); /* ... */ |
Generic API Syntax
/* File: sqlutil.h */ /* API: Close Recovery History File Scan */ /* ... */ SQL_API_RC SQL_API_FN sqlghcls ( unsigned short Handle, void * pReserved, struct sqlca * pSqlca); /* ... */ |
API Parameters
REXX API Syntax
CLOSE RECOVERY HISTORY FILE :scanid |
REXX API Parameters
Sample Programs
Usage Notes
For a detailed description of the use of the recovery history file APIs, see sqluhops - Open Recovery History File Scan.
See Also
sqluhgne - Get Next Recovery History File Entry