This sample lists the CICS® servers defined in the Gateway daemon configuration file (ctg.ini), and allows you to select the one to which an EPI call is made.
A terminal is then installed asynchronously and you are prompted to run a transaction. Enter EP01 or EP02 for the transaction, which is called asynchronously. When a reply has been received, the screen returned by EP01 or EP02 is displayed, and you are prompted for further input options. The header file cclcalls.h is needed for the event handling functions within this sample program.