The configuration file

An HFS file or MVS™ dataset can be used to initialize the CICS® Transaction Gateway.

The default configuration used by CICS Transaction Gateway is the HFS file <install_path>/bin/ctg.ini You can modify the directory and filename if required. For more information see the CICSCLI environment variable in Environment variables: remote mode.

To denote comments in the configuration file use the hash (#) character. The hash (#) character must be positioned at the start of the line, or must have a space or tab character before it.

To split definitions over multiple lines, use backslash (\) as a continuation character. The continuation character should be the placed immediately after the last non-blank character on the line.

Creating a configuration

A sample HFS configuration file and a MVS dataset configuration are supplied with the product. These sample configurations can be copied and modified as required. The sample HFS configuration file is located in <install_path>/samples/configuration/ctgsamp.ini. The sample MVS dataset member is CTGCONF in the CTGSAMP dataset.

Sections within the configuration

The configuration file must contain at least the GATEWAY section with a TCP protocol handler definition, otherwise CICS Transaction Gateway will not start. A section begins with a SECTION element and must be terminated with an ENDSECTION element. Each SECTION element must be positioned as the first entry on a given line.

Configuration parameters

For information about configuration parameters and supported values see the parameter descriptions in Configuration parameter reference.

Default values are automatically applied to parameters that are not explicitly defined.


Information Information

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//ctgzos/config_file.html