Navigation: Glossary > S
SQLCODE
A system variable that indicates the result of the previous SQL command: 0=success, 100=no rows found, and a negative number indicates failure. Based on the value of SQLCODE, the WHENEVER command can be used to call an error-handling routine.