End-session handler

The end-session handler transaction is started by FEPI when a conversation ends or a session is to be unbound.

This could be used as follows:
  • To set the session to a known state, perhaps by signing off from the back-end system, ready for the next conversation.
  • When the conversation ends, to force (or prevent) unbind and the subsequent starting of a new session (overriding what the access program specified).
  • To perform special action on CICS shutdown in the front-end system.

There is a sample end-session handler program; see FEPI sample program: End-session handler.

Note: The end-session handler transaction runs under the CICS region userid.