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.

Example 7-1 Using FTP to send the z/OS gateway to the /tmp= directory<br />

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

Connected to wtsc66oe.itso.ibm.com.<br />

220-FTPDOE1 <strong>IBM</strong> FTP CS V1R2 at wtsc66oe.itso.ibm.com, 18:50:46 on 2002-06-13.<br />

220 Connection will not timeout.<br />

User (wtsc66oe.itso.ibm.com:(none)): cicsrs2<br />

331 Send password please.<br />

Password:<br />

230 <strong>CICS</strong>RS2 is logged on. Working directory is "/u/cicsrs2".<br />

ftp> cd /tmp<br />

250 HFS directory /tmp is the current working directory<br />

ftp> lcd d:\gateways\os390<br />

Local directory now D:\gateways\OS390.<br />

ftp> bin<br />

200 Representation type is Image<br />

ftp> put ctg-500m.tar.Z<br />

200 Port request OK.<br />

125 Storing data set /tmp/ctg-500m.tar.Z<br />

250 Transfer completed successfully.<br />

ftp: 21256941 bytes sent in 60.14Seconds 353.48Kbytes/sec.<br />

ftp> quit<br />

221 Quit command received. Goodbye.<br />

Tip: If you only have an MVS FTP server, you can FTP the <strong>CICS</strong> TG tar file to<br />

an MVS data set name using a binary transfer. <strong>The</strong> record format of the MVS<br />

data set is not important, but it should be allocated with at least 30 cylinders.<br />

Once the <strong>CICS</strong> TG compressed file is in an MVS data set, you can move it<br />

over to UNIX System Services using one of the following methods:<br />

Using ISHELL Use File -> New and File -> Replace From<br />

Using UNIX System Services Use the command tso oget<br />

Using TSO Use the command TSO OPUT<br />

Using batch TSO Use OPUT<br />

Again, regardless of which method you use, you should specify binary format.<br />

Once the <strong>CICS</strong> TG install archive was in the UNIX System Services /tmp<br />

directory, we created an environment where we could install the <strong>CICS</strong> TG for<br />

z/OS. Many of these tasks can also be performed by running the JCL found in<br />

/usr/lpp/ctg500/ctg/samples/jcl. <strong>The</strong> file /usr/lpp/ctg500/ctg/samples/samples.txt<br />

explains the members in this directory.<br />

Chapter 7. TCP connections to the <strong>Gateway</strong> daemon on z/OS 137

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

Saved successfully!

Ooh no, something went wrong!