Linking to a program on a CICS server

Use the Interaction interface to link to a server program. The ECI resource adapter provides an implementation of the Interaction interface but you should not use this directly. You should use the ECIInteractionSpec class directly, to define the properties of the interaction:

As with ECIConnectionSpec, you can set properties on the ECIInteractionSpec class at either construction time or by using setters. Unlike ECIConnectionSpec, the ECIInteractionSpec class has been designed as a Java™ bean. So in a managed environment, your server may provide tools to allow you to define these properties using a GUI without writing any code.

If you are using a CICS Transaction Gateway on z/OS, you cannot specify a value for ECI timeout. As an alternative, you can set the TIMEOUT parameter in the EXCI options table DFHXCOPT. For more information see the CICS External Interfaces Guide.

See Timeout of the ECI request for more information on ECI timeouts.