Configuring CICS Transaction Gateway
You can configure CICS® Transaction Gateway using the Configuration Tool.
Before you begin
About this task

- enable the TCP/IP protocol handler so that clients can connect to CICS TG
- define an IPIC connection between CICS TG and the CICS TS server.
A Configuration Tool is supplied with CICS TG to edit the configuration file. Using the configuration tool avoids the errors that can be introduced by manually editing a configuration file.
Configuration settings are stored by default in the ctg.ini file, in the <product_data_path> directory on Windows. If the Configuration Tool fails to find a configuration file, it creates a new one. A configuration file must exist and contain one or more server sections before you can start CICS TG. You will need Administrator authority on Windows to save the configuration file.
Procedure
- Start the Configuration Tool. Enter the ctgcfg command at a command prompt or click the shortcut on the Windows, Start menu.
- In the TCP/IP protocol handler section, check Enable
protocol handler. The defaults settings are suitable for
this example.

- Select a CICS server from the list, or click to create a new server.
- Enter a name and description for this new server.
- Select IPIC for the Network
protocol.

- Enter the host name or IP address and port number, that you obtained from your CICS system administrator.
- Save the changes and close the Configuration Tool.
Example
IPICSERVER section of the configuration file,
which is stored in \ProgramData\IBM\CICS Transaction Gateway\ctg.ini:SECTION IPICSERVER = CICSIPIC
DESCRIPTION=IPIC to CICS System A
SRVIDLETIMEOUT=0
HOSTNAME=cicssrvA.company.com
PORT=50889
CONNECTTIMEOUT=0
SRVRETRYINTERVAL=60
TCPKEEPALIVE=Y
SENDSESSIONS=100
ECITIMEOUT=0
SSL=N
HEARTBEATINTERVAL=30
ENDSECTIONSENDSESSIONS is 5.What to do next
You have now successfully configured CICS TG and defined a connection to the CICS server. In the next steps, you will start CICS TG and run a transaction.