Stopping CICS Transaction Gateway on UNIX and Linux

To shut down CICS® Transaction Gateway, you must stop the Gateway and Client daemons separately.

When you stop CICS Transaction Gateway, stop the daemons in the following order:

  1. The Gateway daemon. You can use either the ctgd or the ctgadmin command. For more information, see the ctgd command reference and the ctgadmin command reference.
    For example:
    ctgadmin -a shut [-immediate] [-adminport <port>]
    If the default port is not used, you must use the -adminport option.

  2. Client daemon. You stop the Client daemon with the cicscli command:
    cicscli -x
Note: Stopping the Client daemon while the Gateway daemon is still running is not supported. If the Client daemon is stopped while the Gateway daemon is still running, Client applications fail with ECI_ERR_SYSTEM_ERROR or CICS_EPI_ERR_FAILED errors, and the Client daemon is not automatically restarted. The same issue applies if the Client daemon is shut down when a long running user application is still running. To resolve the situation, shut down and restart CICS Transaction Gateway.

Stopping a Gateway daemon that is running as a background process

Use the following command:
ctgd stop
This stops the Gateway daemon immediately.

The ctgd command does not stop the Client daemon; for more information see cicscli command 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/stopping_unx.html