Run a program with embedded SQL: SQL return codes

An SQL return code is sent by the database manager after the completion of each SQL statement.

Related information
SQL messages and codes