The CICS_EpiGetEvent function returns information about an event in the CICS_EpiEventData_t structure.
The application processes 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 might 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.