skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_clearError
 

dam_clearError

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)
Table 70. Parameters for dam_clearError
Parameter
Type
Description
IN
hdbc
DAM_HDBC
The connection handle.
hstmt
DAM_HSTMT
The statement handle.

See also

*dam_addRowToTable
*dam_addError/dam_addErrorW