ctgd command reference

You can use the ctgd command on UNIX and Linux to start CICS® Transaction Gateway as a background task.

The syntax is:
ctgd {start|stop}
The ctgd command requires a configuration file. The default location and name for the ctgd configuration file is <install_path>/bin/ctg.conf. Use the environment variable CTGDCONF to specify an alternative configuration file for ctgd.
Table 1. ctgd configuration file parameters
Parameter Description
CTGD_USER Run the CICS TG as user $CTGD_USER. If you do not set this, CICS TG runs under the user who started it. At system startup this is root. An error will be generated if the ctgd command cannot change to this user.
CTGD_GROUP Run the CICS TG as group $CTGD_GROUP. If you do not set this, CICS TG runs under the primary group of the user who started it. An error will be generated if the ctgd command cannot change to this group.
CTGD_ADMINPORT TCP port which listens for local administration requests from ctgadmin. If not specified the default is 2810. The adminport parameter, specified in the configuration file ctg.ini, is not used by ctgd.
CTGD_PARAMS Specify Gateway daemon startup override options. For more information about the ctgstart options, see ctgstart command reference. Any ctgstart option can be specified, except the -adminport override. To specify a custom administration port, use the CTGD_ADMINPORT variable. When specifying multiple options, separate them with a space and enclose the entire CTGD_PARAMS value in quotation marks.

You can also set any environment variables in the ctgd.conf file. For more information, see Environment variables reference.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//ctgunx/ctgdref.html