Linking to a CICS server program

Use one of the ECIRequest constructors provided to set the required parameters for the ECI call. You can either use the default constructor which sets all parameters to their default values, or one of the other constructors which allow you to set different combinations of parameters. Place any data to be passed to the server program in a COMMAREA Start of changeor containerEnd of change.

You can create ECI requests for synchronous and asynchronous program link calls by setting the value of Call_Type to ECI_SYNC or ECI_ASYNC.

If you use the ECI_ASYNC call type with CICS® Transaction Gateway for z/OS®, you must use the Callbackable interface.