Configure CTG

CTG needs to be made aware of the Enterprise Server instance hosting the CICS server programs.
You can either provide CTG with the information it requires by editing the CTG configuration file ctg.ini (or cicscli.ini for Universal Client) or, as we do here, use the CTG configuration tool.
  1. Start the CTG configuration tool by clicking Start > All Programs > IBM CICS Transaction Gateway, then right-click Configuration Tool and select Run as administrator.
  2. Click Options > New Server.
  3. Complete the following information:
    • Server name: a name for the server - in this case use CTGDEMO.
    • Description: an optional description for the server, in this case enter: CTG demo server.
    • Network protocol: ensure that TCP/IP is selected.
    • Initial transaction: leave blank.
    • Model terminal definition: leave blank.
    • *Host name or IP address: enter 127.0.0.1 for this simple walkthrough.
    • Port: enter 1435. This is the port number to listen on, which must be the same as the port number you specify for the Enterprise Server listener later. The port number 1435 is the IANA recognized port number for IBM CICS.
    Leave all other fields at their default values.
  4. Click File > Save As and ensure you save the file as ctg.ini in the relevant IBM CICS Transaction Gateway data directory. On the machine on which this demonstration was developed, this was: C:\ProgramData\IBM\CICS Transaction Gateway\ctg.ini but it may differ in your environment.
  5. Click File > Exit to close the CTG configuration tool.