This sample lists the CICS servers defined on a CICS® Transaction Gateway, and allows you to select the CICS server to which an ECI program call is made. The call is made and the date and time are returned by program EC01.
The sample is provided in C# and Visual Basic .NET. The C# sample is in <install_path>/samples/csharp/eci, and the Visual Basic .NET sample is in <install_path>/samples/vb/eci.
You can compile the sample using Microsoft Visual Studio or from a Windows command prompt. A Microsoft Visual Studio project file is provided for each language.
To build the sample program from a command prompt, change to the appropriate directory and run the supplied command file EciB1mak.cmd. The file compiles the program for Windows using the C# or Visual Basic .NET compiler which are provided by the Microsoft .NET Framework.
EciB1 [host name] [port number]