skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_clearError
 

dam_clearError

This method allows the IP to clear any existing errors. Use this method in special cases when you want the IP to remove errors that were 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(
int  hdbc,
long hstmt)
Table 134. Parameters for dam_clearError
Parameter
Type
Description
INPUT
hdbc
int
Connection handle.
hstmt
long
The statement handle.

See also

*dam_addError
*dam_addRowToTable