01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

232 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

Dynamic trace<br />

<strong>Gateway</strong> daemon trace can also be controlled dynamically during the <strong>Gateway</strong><br />

daemon operation using the TCPAdmin protocol. This is a new function provided<br />

in the <strong>CICS</strong> TG <strong>V5</strong>.0. To enable the TCPAdmin protocol handler, select the<br />

Enable protocol handler check box for the TCPAdmin handler, as shown in<br />

Figure 9-8.<br />

Figure 9-8 Configuring the TCPAdmin protocol handler<br />

You can also set the authorized hosts that are allowed to control dynamic tracing<br />

by entering them in the Authorized Hosts field and clicking the Add button.<br />

To activate the TCPAdmin protocol handler, save your changes and restart the<br />

<strong>Gateway</strong> daemon. <strong>The</strong>n you can use the tcpadmin.jar file from any authorized<br />

host by simply changing directory to the classes subdirectory, and calling the<br />

ctgadmin.jar as shown:<br />

cd /opt/ctg/classes<br />

java -jar ctgadmin.jar -ctg=tcp:\\wtsc66oe.itso.ibm.com:2810 -a=qtrace<br />

For further details on how we used dynamic tracing see “Dynamic trace<br />

(gateway)” on page 174 in Chapter 7.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!