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.

2. We defined our configuration using the Configuration Tool on Windows and<br />

saved the CTG.INI file into the c:\ctg\bin directory. This can be seen in<br />

Figure 9-4 on page 222. Note that the Configuration Tool looks almost<br />

identical to the Linux version, except the location of the CTG.INI file is shown<br />

as being in the Windows directory C:\Program Files\<strong>IBM</strong>\<strong>IBM</strong> <strong>CICS</strong><br />

<strong>Transaction</strong> <strong>Gateway</strong>\bin rather than the Linux directory /opt/ctg/bin.<br />

3. We uploaded the CTG.INI file from our Windows 2000 machine onto our<br />

Linux system into the /tmp directory. Example 9-12 shows the transcript of our<br />

FTP session. Note that we used ASCII mode for the transfer, since we wanted<br />

FTP to perform data conversion on the ASCII file.<br />

Example 9-12 Uploading the CTG.INI file<br />

C:\>cd \ctg\bin<br />

C:\ctg\bin>ftp vmlinux1.itso.ibm.com<br />

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

220 ProFTPD 1.2.2rc2 Server (powered by SuSE Linux) [vmlinux1.itso.ibm.com]<br />

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

331 Password required for itso.<br />

Password:<br />

230 User itso logged in.<br />

ftp> ascii<br />

200 Type set to A.<br />

ftp> cd /tmp<br />

250 CWD command successful.<br />

ftp> put CTG.INI<br />

200 PORT command successful.<br />

150 Opening ASCII mode data connection for CTG.INI.<br />

226 Transfer complete.<br />

ftp: 1067 bytes sent in 0.00Seconds 1067000.00Kbytes/sec.<br />

4. We moved the CTG.INI file on our Linux system from the /tmp directory to the<br />

/opt/ctg/bin directory using the following command at the Linux command<br />

prompt:<br />

mv /tmp/CTG.INI /opt/ctg/bin<br />

Chapter 9. TCP connections to the <strong>Gateway</strong> daemon on Linux 223

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

Saved successfully!

Ooh no, something went wrong!