CICS_EPI_EVENT_END_TERM

Purpose

The CICS_EPI_EVENT_END_TERM event indicates that a terminal resource no longer exists. After this event, the terminal index that was previously used for the terminal resource is not valid. If the EPI detects that a CICS® server has shut down, CICS_EPI_EVENT_END_TERM events are generated for all terminal resources that the application has installed in that server and not subsequently deleted.

Fields completed

Event
The CICS_EPI_EVENT_END_TERM event code.
EndReason
An indication of why the terminal resource was deleted. It can be one of the following values:
CICS_EPI_END_SIGNOFF
The terminal resource was signed off. This can be as a result of running the CESF transaction or of calling the CICS_EpiDelTerminal function.
CICS_EPI_END_SHUTDOWN
The CICS server is shutting down.
CICS_EPI_END_OUTSERVICE
The terminal resource has been switched out of service.
CICS_EPI_END_UNKNOWN
An unexpected error has occurred.
CICS_EPI_END_FAILED
An attempt to delete a terminal resource failed.