You can use the ctgd command on UNIX and Linux to start CICS® Transaction Gateway as a background task.
ctgd {start|stop}
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.