22.27. CICS Transaction Gateway tracing

To start full tracing on the CTG at startup, issue the following command:

ctgstart -x -tfile=ctg.trc

This will create a trace file called ctg.trc as indicated by the -tfile parameter. The -x option indicates full tracing.

JNI tracing can also be enabled when you start the CICS Transaction Gateway by issuing the following command

ctgstart -j-Dgateway.T.setJNITFile=filename

Here, filename is the name of the file to which trace output is to be sent.

22.27.1. JNI tracing

JNI tracing can also be enabled using the environment variable CTG_JNI_TRACE and specifying the path and file where you want the information stored. For example:

CTG_JNI_TRACE=c:\temp\ctgjni.trc

Starting the CICS Transaction Gateway would ...

Get z/OS Diagnostic Data Collection and Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.