The CICS_EpiTerminate function
ends the application's use of the EPI, typically just before the application
terminates.
All other EPI calls (except for CICS_EpiInitialize) are invalid when this
call has completed.
The application issues CICS_EpiDelTerminal calls before terminating,
to delete any terminal resources.
Return codes
- CICS_EPI_ERR_FAILED
- The function failed for an unexpected
reason.
- CICS_EPI_ERR_TTI_ACTIVE
- A transaction started from the EPI
is still active or a CICS_EpiGetEvent call is still outstanding.
- CICS_EPI_ERR_NOT_INIT
- CICS_EpiInitialize has
not been executed.
- CICS_EPI_ERR_IN_CALLBACK
- The function was called from a callback
routine.
- CICS_EPI_NORMAL
- The function completed successfully.