Follow these steps to run the sample application EciB3.
Before you begin
You must have CICS® Transaction Gateway running
and defined an IPIC connection to a CICS TS server
which has the sample application EC03 installed.
About this task

In
this step, you will start the sample application, com.ibm.ctg.samples.eci.EciB3.
The application will check which CICS TS servers
are available and you will be asked to select one. You will then be
asked to enter some text data which will be sent to the CICS TS server.
The application will then send this data and receive a reply which
it displays on the screen.
Procedure
- In the Windows command
prompt, enter the following command to start the sample:
java com.ibm.ctg.samples.eci.EciB3 <ip address> <port>
where:
<ip address> is the IP address of the system
on which CICS TG is
installed. Alternatively you can specify the fully qualified computer
name.
<port> is the CICS TG TCP/IP
protocol handler port that you specified in the Configuring step.
The default is 2006.
You have to specify these settings because the sample application
can be run on the system on which
CICS TG is
installed or on a remote system.
- Select the server using the corresponding number and press Enter.
- At the prompt, type some text data and press Enter.
Example
The sample application will return information relating to
the sending and receiving of the text data you entered:
What to do next
There are many other scenarios in this documentation which
you can try. You can also try different communication protocols and
other configuration options. When you have finished, you should
shut down
CICS TG with
the following command:
ctgadmin -a shut