The CICS_EPI_EVENT_END_TRAN event indicates the end of a transaction that was running against a terminal resource. If the transaction failed, the EndReason and EndReturnCode specify the cause. If the transaction completed normally, the EndReason field is set to CICS_EPI_TRAN_NO_ERROR and EndReturnCode is set to CICS_EPI_NORMAL. If the transaction was pseudoconversational, the TransId field contains the name of the next transaction required. The application should start this transaction by issuing a CICS_EpiStartTran call.
The CICS_EPI_EVENT_END_TRAN event occurs when a transaction running against a terminal resource abends or ends following execution of a RETURN command for which the IMMEDIATE option was not specified.