The address of the exec interface block (EIB) is not passed as an argument to a C or C++ main function. This means that C and C++ functions must use the ADDRESS EIB command to obtain the address of the EIB.
Addressability is achieved by using the command:
EXEC CICS ADDRESS EIB(dfheiptr);
or by passing the EIB address or particular fields therein as arguments to the CALL statement that invokes the external procedure.
If access to the EIB is required, an ADDRESS EIB command is required at the beginning of each program.
Within a C or C++ application program, fields in the EIB are referred to in lower case and fully qualified as, for example, "dfheiptr->eibtrnid".
The following mapping of data types is used: