C#/Visual Basic .NET EciB3 sample

This sample lists the systems defined on a CICS® Transaction Gateway, and allows you to select the one to which an ECI program call is made. The supplied CICS program EC03 is called with a channel and a single CHAR container. The program updates the channel by adding new containers. The sample program lists all the containers that are returned from the EC03 program. The name, type and data contained within the returned containers is displayed to the console.

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 EciB3mak.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:
EciB3 [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/netbasic3.html