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.

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

this worked by using ls -l and verifying the last character in the first column<br />

is “x”.<br />

Tip: Note to use the EciI1 sample you must make sure the <strong>Gateway</strong><br />

daemon has access to the classes in ctgsamples.jar. To do this you will<br />

need to update the CTG_CLASSPATH environment variable in your<br />

ctgenvvar file. We added the following to the end of the current<br />

CTG_CLASSPATH definition<br />

${CTG_CLASSES}/ctgsamples.jar<br />

Without this class you will receive the error:<br />

java.io.IOException: CCL6668E: Initial handshake flow failed.<br />

[java.io.IOException: CCL6670E: Exception occurred in the <strong>Gateway</strong>.<br />

[java.lang.ClassNotFoundException:com.ibm.ctg.samples.security.ServerComp<br />

ression]]<br />

With the script marked as executable, we ran it by entering EciI1Test. <strong>The</strong><br />

results of our tests are shown in Example 7-16.<br />

Example 7-16 OMVS EciI1 test output<br />

<strong>CICS</strong>RS2 @ SC66:/u/cicsrs2>EciI1Test<br />

Usage: java com.ibm.ctg.samples.eci.EciI1 Ý<strong>Gateway</strong>Url¨ ÝPort¨<br />

<strong>Gateway</strong>: tcp://wtsc66oe.itso.ibm.com:2006/<br />

WTSC66OE.ITSO.<strong>IBM</strong>.COM<strong>Gateway</strong> opened...<br />

Number of systems = 2<br />

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

Systems:<br />

1: SCSCPJA1 -<br />

2: SCSCPJA2 -<br />

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

Select a server by number or 'Q' quit<br />

1<br />

Chosen server = SCSCPJA1<br />

Waiting for a reply to a request to flow request<br />

*<br />

Reply received<br />

No errors reported<br />

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

ASCII:<br />

1st run OF EC02

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

Saved successfully!

Ooh no, something went wrong!