Processing events

The CICS_EpiGetEvent function returns information about an event in the CICS_EpiEventData_t structure. The Event field in this structure contains the name of the event:

The application should process events as quickly as possible.

When a Client application is driven with an event or callback, it must issue a CICS_EpiGetEvent to get the associated event. In certain timing conditions, the CICS_EPI_EVENT_START_ATI may already have been notified from a previous CICS_EpiGetEvent. The CICS_EpiGetEvent issued after the callback can receive CICS_EPI_ERR_NO_EVENT (if CICS_EPI_NOWAIT is specified for the Wait parameter) or wait until a subsequent event is received (if CICS_EPI_WAIT is specified for the Wait parameter). Note that this can happen after a CICS_EPI_EVENT_START_ATI is received.