Making External Call Interface calls from C and COBOL programs

This section describes how to make ECI calls to a CICS® server from a COBOL or C Client application. Table 1 shows the field names in C and COBOL data structures that correspond to the ECI terms described in Input and output information for external calls to CICS

Table 1. ECI terms and corresponding fields in C and COBOL
ECI term C structure.field COBOL structure.field
Abend code ECI_PARMS.eci_abend_Code ECI-PARMS.ECI-ABEND-CODE
COMMAREA ECI_PARMS.eci_commarea ECI-PARMS.ECI-COMMAREA
ECI timeout ECI_PARMS.eci_timeout ECI-PARMS.ECI-TIMEOUT
LUW control ECI_PARMS.eci_extend_mode ECI-PARMS.ECI-EXTENDED
LUW identifier ECI_PARMS.eci_luw_token ECI-PARMS.ECI-LUW-TOKEN
Password ECI_PARMS.eci_password ECI_PARMS.eci_password2 ECI-PARMS.ECI-PASSWORD ECI-PARMS.ECI-PASSWORD2
Program name ECI_PARMS.eci_program_name ECI-PARMS.ECI-PROGRAM-NAME
Server name ECI_PARMS.eci_system_name ECI-PARMS.ECI-SYSTEM-NAME
TPNName ECI_PARMS.eci_tpn ECI-PARMS.ECI-TPN
TranName ECI_PARMS.eci_transid ECI-PARMS.ECI-TRANSID
User ID ECI_PARMS.eci_userid ECI-PARMS.ECI-USERID