C#/Visual Basic .NET EciB1 sample

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.

When compiled, you can execute the sample program using the following command:
EciB1 [host name] [port number]


Concept Concept

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