dam_clearError
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method allows the IP to clear any existing errors. Use this method in special cases when you want the IP to remove errors added by the OpenAccess SDK SQL Engine. For example, the OpenAccess SDK SQL Engine adds an error message when the TableRowset limit is exceeded before it returns the DAM_ABORT_OPERATION error from dam_addRowToTable.
You can implement the IP to remove existing errors using dam_clearError, and add its own custom message using dam_addError.
void dam_clearError(
int64 hdbc,
int64 hstmt)
Parameters for dam_clearError
| Parameter | Type | Description |
| IN | ||
| hdbc | int64 | Connection handle |
| hstmt | int64 | The statement handle |