Current SQLCODE value at the time the special value was evaluated.
The SQLCODE value is set after each statement. You can check the SQLCODE to see whether or not the statement succeeded.
Use a SELECT statement to produce an error code for each attempt to fetch a new row from the result set. For example: SELECT a, b, SQLCODE FROM MyTable.