SQL Return
Codes are used on a day-to-day basis for the diagnosis of programming failures as a result of
SQL calls by DB2 computer programs. An important feature of DB2 programs is the error processing. The error diagnostic containing the
SQL Return
Code is held in the field SQLCODE within the DB2 SQLCA block.
read more >>