Value | Description |
0 | Successful completion. |
+100 | No rows were processed by a DELETE, FETCH, INSERT, SELECT, UPDATE, MODIFY, COPY, CREATE INDEX, or CREATE AS...SELECT statement. This value (+100) sets the not found condition of the WHENEVER statement. |
+700 | A message statement in a database procedure has just executed, setting the sqlmessage condition of the WHENEVER statement. |
+710 | A database event was raised. |
Negative Value | An error occurred. The value of SQLCODE is the negative value of the error number returned to errorno. For information on errorno, see Error Checking Using Inquire Statements (see Error Checking Using Inquire Statements). A negative value sets the sqlerror condition of the WHENEVER statement. |