Identify warnings with SQLSTATE

When the database server executes a DataBlade® API function successfully but encounters a warning condition, it takes the following actions: \
  • Sets the class code of SQLSTATE to "01"
  • Sets the subclass code of SQLSTATE to a unique value that indicates the cause of the warning (see Status conditions in SQLSTATE)
  • Throws an MI_Exception event with an MI_MESSAGE exception level