SQLCODE special value

Function

Current SQLCODE value.

DATA TYPE

STRING

DESCRIPTION

The SQLCODE value is set after each statement. You can check the SQLCODE to see whether or not the statement succeeded.

See also

“Expressions”

Chapter 1, “SQL Statements,” in System Administration Guide: Volume 2