C ctgesib1 sample

This sample lists the CICS® servers defined on a remote CICS Transaction Gateway, and allows you to select a server. You are prompted to input the user ID and password or password phrase which are then verified on the chosen server using the ESI V2 API. The last verified time of the user ID and the password expiry time are displayed.

The ctgesib1 sample is written in C and is located in <install_path>/samples/c/esi_v2

To build the sample, change to this directory and issue the following command:
Table 1. Commands used to build the sample on different platforms
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 ctgesib1mak.cmd 32 ctgesib1mak.cmd 64
When compiled, the sample program can be executed using the following command:
ctgesib1 [host name] [port number]

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/ESIVersion2CSample.html