For a DataBlade API module, an event is a communication from IBM Informix software that indicates the existence of some predefined condition, usually the occurrence of an exception (warning or error). The DataBlade API represents an event as one of the enumerated values of the MI_EVENT_TYPE data type. Table 66 shows the MI_EVENT_TYPE values that the DataBlade API supports.
The milib.h header file defines the MI_EVENT_TYPE data type and its event types. The DataBlade API event types can be grouped as follows.
Event Type | Event Group | More Information |
---|---|---|
MI_Exception | Database server exceptions | Database Server Exceptions |
MI_EVENT_SAVEPOINT
MI_EVENT_END_STMT MI_EVENT_END_XACT MI_EVENT_END_SESSION MI_Xact_State_Change |
State-transition events | State-Transition Events |
MI_Client_Library_Error | Client LIBMI errors | Client LIBMI Errors |