The built-in trace class

The DataBlade® API provides a built-in trace class named __myErrors__. The __myErrors__ trace class writes out the full text of database server exceptions (errors and warnings) as they occur. You can set the trace level of __myErrors__ with mi_tracelevel_set(), just as with any other trace class.

The __myErrors__ trace class provides the following trace levels:
  • A level of 10 or above to trace only error messages
  • A level of 20 or above to trace both error and warning messages
Tip: The __myErrors__ trace class does not appear in the systraceclasses system catalog table.