This sample lists the CICS® servers defined on a remote CICS Transaction Gateway, and allows you to select the CICS server to which an ECI program call is made. This call is then made and the date and time are returned by the CICS program EC01.
The ctgecib1 sample is written in C and installed in <install_path>/samples/c/eci_v2 or the <SDK_path>/api/c/remote/samples/eci_v2 SDK directory.
| Platform/compiler | 32-bit sample | 64-bit sample |
|---|---|---|
| UNIX and Linux | make -f samp.mak | make -f samp64.mak |
| Linux on POWER® using IBM® XL C | make -f samp.mak COMPILER=XL | make -f samp64.mak COMPILER=XL |
| Windows | ctgecib1mak.cmd 32 | ctgecib1mak.cmd 64 |
| Platform/compiler | 32-bit sample | 64-bit sample |
|---|---|---|
| UNIX and Linux | make -f make32 OS=<platform> | make -f make64 OS=<platform> |
| Linux on POWER using IBM XL C | make -f make32 OS=<platform> COMPILER=XL | make -f make64 OS=<platform> COMPILER=XL |
| Windows | make 32 | make 64 |
ctgecib1 [host name] [port number]