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.

13:40:51:040 : ConnectionManager-0: S-C: CCL6727I: ECIRequest: Commarea_Length = 80.<br />

13:40:51:063 : ConnectionManager-0: S-C: CCL6720I: ECIRequest: Call_Type = ECI_ASYNC, Server =<br />

SCSCPJA1, Program = EC02, Transid = , Extend_Mode = ECI_EXTENDED, Luw_Token = 0,<br />

Message_Qualifier = 0, Callbackable = true.<br />

13:40:51:069 : ConnectionManager-0: S-C: CCL6727I: ECIRequest: Commarea_Length = 80.<br />

13:40:51:151 : ConnectionManager-0: S-C: CCL6512I: Waiting to receive a request.<br />

ÝConnectionManager-0¨<br />

13:40:51:166 : Worker-0: S-C: CCL6514I: Accepting work request. ÝWorker-0¨<br />

ÝConnectionManager-0¨<br />

13:40:51:389 : Worker-0: .TCPHandler:CCL6603I: # Dump: 32/32 bytes : Offset = 0 Reply flow<br />

13:40:51:410 : Worker-0: S-C: CCL6523I: About to execute work request. ÝWorker-0¨<br />

13:40:51:428 : Worker-0: S-C: CCL6695I: Before JNI CcicsECI(1) : Server=SCSCPJA1, Program=EC02,<br />

Commarea.Length=80, ExtendMode=1, LUW=0.<br />

13:40:51:514 : Worker-0: S-C: CCL6693I: After JNI CcicsECI(1) : Rc=-9, LUW/TermIndex=0<br />

13:40:51:581 : Worker-0: S-C: CCL6721I: ECIRequest: Call_Type = ECI_ASYNC, Cics_Rc =<br />

ECI_ERR_SYSTEM_ERROR, Abend_Code = , Luw_Token = 0, Message_Qualifier = 0.<br />

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

This trace tells us the <strong>CICS</strong> TG is working normally but we need to look further<br />

into the JNI. <strong>The</strong> next step is to the trace the <strong>CICS</strong> TG JNI module (libCTGJNI) to<br />

determine what is causing the bad return code from the JNI call.<br />

JNI trace<br />

<strong>The</strong> third type of trace is the <strong>CICS</strong> TG Java Native Interface (JNI) trace. Like the<br />

<strong>CICS</strong> TG trace, there are two ways of starting the JNI trace, dynamic and static.<br />

Dynamic JNI tracing is new in <strong>CICS</strong> TG for z/OS <strong>V5</strong>.0 and requires the<br />

TCPAdmin be set up in the CTG.INI. We demonstrate dynamic tracing, but used<br />

static tracing for our problem diagnosis.<br />

<strong>The</strong> static trace depends on parameters specified in the <strong>CICS</strong> TG startup JCL<br />

and requires the <strong>CICS</strong> TG address space to be recycled.<br />

New in <strong>CICS</strong> TG for z/OS <strong>V5</strong>.0 is the default logging of EXCI return codes. <strong>The</strong>se<br />

are written to unique files in the directory $HOME/ibm/ctgjnilog.* and are very<br />

useful for quick problem determination.<br />

Dynamic trace (JNI)<br />

Here we assume the TCPAdmin client has been specified in the CTG.INI file.<br />

1. From within TSO OMVS, we changed our directory to<br />

/usr/lpp/ctg500/ctg/classes/. We entered the command to query the current<br />

state of the trace:<br />

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

Example 7-27 shows the result of this command. <strong>The</strong> tlevel in the JNI trace<br />

settings is 0, indicating tracing is off.

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

Saved successfully!

Ooh no, something went wrong!