SQL$HELP72.HLB  —  Errors  SQL_ERRORS, NOSQLCODE
  Neither SQLCA, SQLCODE nor SQLSTATE were declared

  Explanation:  All precompiled SQL programs must include a
  definition for an SQL status variable.  This can be done by
  specifying an INCLUDE SQLCA statement or by defining an integer
  host variable name SQLCODE or by defining a 5 character SQLSTATE
  variable.  This program did none of the above.

  User Action:  Add either an SQLCODE variable or an INCLUDE SQLCA
  statement or an SQLSTATE variable.
Close Help