Unsolicited-data handler
The unsolicited-data handler transaction is started by FEPI if inbound data arrives on a connection for which there is no current conversation.
Unsolicited data can occur when:
- A target sends more data than the application expected.
- The access program times out, or the conversation is ended, before the data arrives.
- Asynchronous IMS output such as:
- Message from previous input that could not be processed at the time of receipt by IMS
- Reassignment of a logical terminal that has a message queued.
- Asynchronous CICS output such as that sent by ATI.
The unsolicited data should all be received by the handler, even if it is only to be discarded. Otherwise, although FEPI eventually discards the data, it also ends and restarts the session, which is inefficient.
There is a sample unsolicited-data handler program. For more information, see FEPI sample program: Monitor and unsolicited data-handler.