JNI tracing

JNI trace can be enabled on start up of CICS® Transaction Gateway or a local mode application. Alternatively, JNI trace can be enabled when the Gateway daemon is running using the ctgadmin command.

Set the following environment variables before you start the CICS Transaction Gateway on UNIX and Linux or Java™ Client applications run in local mode on any platform:
  • CTG_JNI_TRACE
    Use this environment variable to set the name of the JNI trace file. This environment variable defines only the name of the JNI trace file; it does not enable trace. There is no requirement to use a particular extension for the file name. If a directory is not defined the file is created in the current working directory.
    CTG_JNI_TRACE_ON
    Set this environment variable to YES (not case-sensitive) to enable JNI trace. When CTG_JNI_TRACE is not defined and CTG_JNI_TRACE_ON=YES, trace is written to stderr.

Use one of the following methods to enable JNI trace:

You cannot enable JNI trace through the Configuration Tool.


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/jnitrace.html