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.

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

<strong>The</strong> <strong>CICS</strong> TG Client daemon trace is started with the <strong>CICS</strong>CLI /D command. If<br />

you need to trace the client from startup, you can specify all the parameters<br />

needed together on the command line, such as:<br />

<strong>CICS</strong>CLI /S=SCSCPJA1 /D=9999 /M=ALL<br />

For more information on Client daemon tracing, wrapping trace, and formatting<br />

options, refer to <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> Windows Client Administration,<br />

SC34-5940.<br />

Example trace<br />

To provide an example tracing scenario we disabled connection autoinstall on our<br />

<strong>CICS</strong> region and tried to connect using TCP62 from our Windows workstation. To<br />

disable autoinstall on <strong>CICS</strong>, we used the <strong>CICS</strong> command:<br />

CEMT SET AUTOI PROGR(DFHZATDX)<br />

To start the Client daemon and format the trace, we did the following from a<br />

Windows command prompt:<br />

1. We started the <strong>CICS</strong> TG connection to the <strong>CICS</strong> region using the command:<br />

<strong>CICS</strong>CLI /S=SC62PJA1 /D=9999 /M=DRV.1,DRV.2<br />

2. We stopped the <strong>CICS</strong> TG connection to the <strong>CICS</strong> region using the command:<br />

<strong>CICS</strong>CLI /X<br />

3. We formatted the trace with detailed formatting using the command:<br />

<strong>CICS</strong>FTRC /D<br />

<strong>The</strong> trace was output to the file <strong>CICS</strong>CLI.TRC in the <strong>CICS</strong> TG bin directory. As<br />

shown in Example 3-17, the first network flow is an MPTN_Connect, from the<br />

Client daemon with the node address US<strong>IBM</strong>SC.CCLI62LU. <strong>The</strong> destination<br />

address is our <strong>CICS</strong> server, US<strong>IBM</strong>SC.SCSCPJA1.<br />

Example 3-17 trace of connect<br />

12:23:20.040 [00000780,000007f0] [5874] DRV:CCL5899 TCP62: connected<br />

006c-SC62PJA1<br />

12:23:20.050 [00000780,000007f0] [5879] DRV:CCL5894 TCP62: send ctl<br />

006c-SC62PJA1 Length=254<br />

...<br />

________________________________________________MPTN Flow - Start_<br />

00000004 Command Type = (0x80) MPTN_Connect<br />

...<br />

Destination User Address:<br />

00000009 MPTN Qualifier = (0x0b) SNA network-qualified LU name<br />

0000000a Address Mode = (0x01) individual address<br />

0000000c Node Address = "US<strong>IBM</strong>SC.SCSCPJA1"<br />

0000001c Local Address = (0x01) null

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

Saved successfully!

Ooh no, something went wrong!