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.

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

Example 5-1 Client daemon server definition in CTG.INI<br />

SECTION SERVER = SCSCPJA1<br />

DESCRIPTION=<strong>CICS</strong> TS 2.2 at SC66<br />

UPPERCASESECURITY=Y<br />

USENPI=N<br />

PROTOCOL=TCPIP<br />

NETNAME=wtsc66.itso.ibm.com<br />

PORT=8018<br />

CONNECTTIMEOUT=0<br />

TCPKEEPALIVE=Y<br />

ENDSECTION<br />

Testing the configuration<br />

To test our configuration we used the <strong>CICS</strong> TG sample VBScript application<br />

ecib1.vbs. This is installed in the <strong>CICS</strong> TG /samples/vb/script subdirectory.<br />

Because the sample is a script, no compilation is necessary. <strong>The</strong> script can be<br />

run directly from any Windows 2000 workstation using the built-in Windows<br />

Script Host support. To execute, just double-click the script file on the Windows<br />

desktop, or type the name of the script file at the command prompt. <strong>The</strong><br />

application flows an ECI request to a connected <strong>CICS</strong> region through a specified<br />

server connection using the Client daemon and invokes the transaction EC01<br />

(Figure 5-6). <strong>The</strong> <strong>CICS</strong> region is selected from a window.<br />

Windows 2000<br />

CTG <strong>V5</strong>.0<br />

ecib1.vbs<br />

Client<br />

daemon<br />

ECI Request<br />

TCP/IP<br />

Figure 5-6 TCP/IP connection to <strong>CICS</strong> testing overview<br />

TCPIP<br />

service<br />

z/OS<br />

<strong>CICS</strong> TS V2.2<br />

Region<br />

SCSCPJA1<br />

EC01<br />

program<br />

After we installed and configured the software components illustrated in<br />

Figure 5-6, we tested our configuration as follows:

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

Saved successfully!

Ooh no, something went wrong!