Diagnostics in a Db2 for i CLI application

There are two levels of diagnostics for Db2® for i call level interface (CLI) functions.

  • Return codes from a Db2 for i CLI application
  • DB2® CLI SQLSTATEs (diagnostic messages)