dam_clearError
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
This function allows the IP to clear any existing errors. Use this function in special cases when the IP wants to remove an error added by the OpenAccess SDK SQL engine. For example, the OpenAccess SDK SQL engine adds an error message when TableRowset exceeds limit before it returns DAM_ABORT_OPERATION error from dam_addRowToTable. The IP can choose to remove the existing error using dam_clearError and add its own custom message using dam_addError/dam_addErrorW.
void dam_clearError(
DAM_HDBC hdbc,
DAM_HSTMT hstmt)
Parameters for dam_clearError
| Parameter | Type | Description |
| IN | ||
| hdbc | DAM_HDBC | The connection handle. |
| hstmt | DAM_HSTMT | The statement handle. |