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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 7-27 <strong>CICS</strong> TG for z/OS TCPAdmin query command<br />

CTGCtrl - CTG Control Program, version 5.0.0<br />

(C) Copyright <strong>IBM</strong> Corporation 2002. All rights reserved<br />

<strong>Gateway</strong> trace settings:<br />

tlevel=4<br />

truncationsize=80<br />

dumpoffset=0<br />

tfile=/ctg/scsctg5/logs/ctg.trace<br />

tfilesize=0<br />

JNI trace settings:<br />

tlevel=0<br />

tfile=/ctg/scsctg5/logs/jni.trace<br />

<strong>The</strong> command completed successfully<br />

2. To turn trace on, we entered:<br />

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

-a=setjnitrace -tlevel=1<br />

We saw the output:<br />

CTGCtrl - CTG Control Program, version 5.0.0<br />

(C) Copyright <strong>IBM</strong> Corporation 2002. All rights reserved<br />

<strong>The</strong> command completed successfully<br />

3. To verify our command worked, we entered the query command again:<br />

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

Example 7-28 <strong>CICS</strong> TG for z/OS TCPAdmin query command<br />

CTGCtrl - CTG Control Program, version 5.0.0<br />

(C) Copyright <strong>IBM</strong> Corporation 2002. All rights reserved<br />

<strong>Gateway</strong> trace settings:<br />

tlevel=4<br />

truncationsize=80<br />

dumpoffset=0<br />

tfile=/ctg/scsctg5/logs/ctg.trace<br />

tfilesize=0<br />

JNI trace settings:<br />

tlevel=1<br />

tfile=/ctg/scsctg5/logs/jni.trace<br />

<strong>The</strong> command completed successfully<br />

Static trace (JNI)<br />

This is activated using the CTG_JNI_TRACE environment variable, which can be<br />

set in your ctgstart script, in the ctgenvvar file, or in the STDENV DD in the <strong>CICS</strong><br />

Chapter 7. TCP connections to the <strong>Gateway</strong> daemon on z/OS 177

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

Saved successfully!

Ooh no, something went wrong!