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.

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

Tip: In <strong>V5</strong> of the <strong>CICS</strong> TG, the standard logging messages no longer get sent<br />

to STDERR. Instead they are written to STDOUT and only trace and error<br />

messages are written to STDERR. In addition, connection logging messages<br />

are disabled by default, but can be enabled using the new parameter<br />

connectionlogging in the CTG.INI configuration file.<br />

3. We checked the state of the TCP/IP sockets on our UNIX System Services<br />

TCP/IP stack using the onetstat command from OMVS. This showed us the<br />

output in Example 7-11 and indicates the <strong>CICS</strong> TG was indeed listening on<br />

port 2006 for TCP requests.<br />

Example 7-11 OMVS onetstat<br />

$ ÝSC66¨ /u/cicsrs2: onetstat<br />

MVS TCP/IP onetstat CS V1R2 TCPIP Name: TCPIPOE 23:02:35<br />

User Id Conn Local Socket Foreign Socket State<br />

------- ---- ------------ -------------- -----<br />

SCSCTG55 0001F5C3 0.0.0.0..2006 0.0.0.0..0 Listen<br />

4. We checked basic IP connectivity from our workstation to z/OS using the ping<br />

command from a Windows 2000 command prompt (Example 7-12).<br />

Example 7-12 Ping to z/OS verifying hosts or DNS setup<br />

C:\>ping wtsc66oe.itso.ibm.com<br />

Pinging wtsc66oe.itso.ibm.com [9.12.6.29] with 32 bytes of data:<br />

Reply from 9.12.6.29: bytes=32 time=120ms TTL=52<br />

Reply from 9.12.6.29: bytes=32 time=110ms TTL=52<br />

Ping statistics for 9.12.6.29:<br />

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br />

Approximate round trip times in milli-seconds:<br />

Minimum = 110ms, Maximum = 120ms, Average = 112ms<br />

5. Next we performed our basic test under OMVS. First we used ISHELL to<br />

create /u/cicsrs2/EciB1Test. This will be an executable script file with the<br />

contents shown in Example 7-13.<br />

Example 7-13 OMVS EciB1 test script file<br />

export CLASSPATH=/usr/lpp/ctg500/ctg/classes/ctgsamples.jar<br />

export CLASSPATH=$CLASSPATH:/usr/lpp/ctg500/ctg/classes/ctgclient.jar<br />

echo $CLASSPATH<br />

java com.ibm.ctg.samples.eci.EciB1 tcp://wtsc66oe.itso.ibm.com 2006

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

Saved successfully!

Ooh no, something went wrong!