This section describes how to make ECI V2 and ESI V2 calls
to a CICS® server from a 32-bit
or 64-bit C application. ECI V2 and ESI V2 are supported only in remote
mode.
Establishing a connection to a Gateway daemon
To use client applications in C in remote mode, you must
establish a connection to the Gateway daemon Client protocol handler
using the specified host name and port number.
Program link calls
For all program link calls, fill in the required fields
in the ECI parameter block (CTG_ECI_PARMS structure).
All unused fields should be set to zero.
Reply solicitation calls
Use one of the
following call types to solicit replies for an asynchronous program
link call.
Tracing in ECI V2 and ESI V2 applications
Applications should implement an option to
enable trace. You can control tracing in ECI and ESI Version 2 applications
using the functions and environment variables described here.
Security credentials in ECI V2
The application can specify the user ID and password or
password phrase by setting eci_userid_ptr and eci_password_ptr in
the ECI V2 parameter block.