Your ESL program is notified via the response to stimulus mechanism when APPC events occur. You can write a response definition for each event, or write responses for some events and ignore others.
There are three APPC events your program must not ignore. You must write a response to stimulus statement and appropriate action statements for each of the following events:
•Data has arrived from your partner program.
•"End of conversation" has been signalled by your partner.
•A system error has occurred.
Responding to the other APPC events is optional. Respond to the ones that apply to your application:
•Start of a partner application.
•Partner switched from sending to receiving.
•Partner wants to send data.
•Confirmation from partner received.
•Confirmation requested.
•Partner reports an error.
For more information on ESL APPC event processing, and the complete list of event notifications, ESL APPC Events.