Compiling and linking C applications

This section gives some examples showing how to compile and link typical ECI applications in the various client environments.

The following table shows the C header files required depending on the API being used and whether they can be used to build 32-bit and 64-bit applications:
Table 1. C header files
Use File 32-bit support 64-bit support
ECI V2 ctgclient_eci.h and ctgclient.h
ESI V2 ctgclient_esi.h and ctgclient.h

When compiling C programs, you might need to pass structures to the external CICS® interfaces in packed format. If this is the case, the C header files contain the #pragma pack directive, which must not be changed.

Refer to the Sample programs supplied with your environment for examples of compiling and linking programs.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//progdezos/crecala.html