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.

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

cd /tmp<br />

uncompress -v /tmp/ctg-500m.tar.Z<br />

This created an uncompressed tar archive file, ctg-500m.tar (without the “.Z”<br />

suffix), in the /tmp directory. We unpacked this archive into the new<br />

/usr/lpp/ctg500 directory using the tar command:<br />

cd /usr/lpp/ctg500<br />

tar -xopfv /tmp/ctg-500m.tar<br />

This created the appropriate subdirectories and installed the <strong>CICS</strong> TG into the<br />

/usr/lpp/ctg500 directory.<br />

For reference, the options on the tar command are as follows:<br />

o: Does not restore the files with the original owner and group IDs,<br />

but instead uses the owner and group of the current logged-in<br />

user. This is important, since the original owner of the files will<br />

not be known on your z/OS UNIX System Services.<br />

p: Restores the files with the high-order file permission bits<br />

(set-user-ID, set-group-ID, and sticky bit).<br />

f: Specifies file name of the input tar archive file.<br />

v: Specifies verbose messages.<br />

Running the <strong>CICS</strong> TG install script<br />

We ran the next section in TSO OMVS, which is probably more familiar to <strong>CICS</strong><br />

systems programmers than a telnet session to UNIX System Services.<br />

In the /user/lpp/ctg500 directory, the ls -l command showed the following files:<br />

drwxr-xr-x 9 AAAAAAA SYS1 8192 Jun 21 00:04 ctg/<br />

-rwxr-xr-x 1 AAAAAAA SYS1 66 Jun 21 00:05 ctg_install<br />

-rwxr-xr-x 1 AAAAAAA SYS1 20 Jun 21 00:07 ctginstall<br />

-rw-r--r-- 1 AAAAAAA SYS1 1880 Jun 21 00:05 ctginstall.readme<br />

-rwxr-xr-x 1 AAAAAAA SYS1 28 Jun 21 00:07 ctginstall_<strong>IBM</strong>-930<br />

-rwxr-xr-x 1 AAAAAAA SYS1 28 Jun 21 00:07 ctginstall_<strong>IBM</strong>-935<br />

-rwxr-xr-x 1 AAAAAAA SYS1 28 Jun 21 00:07 ctginstall_<strong>IBM</strong>-937<br />

-rwxr-xr-x 1 AAAAAAA SYS1 28 Jun 21 00:07 ctginstall_<strong>IBM</strong>-939<br />

You will need to run the ctginstall script to install the <strong>CICS</strong> TG. If you have<br />

problems reading the license agreement, you can enter ctginstall 64. You are<br />

presented with a page of licensing agreements. Enter 3 to accept the agreement<br />

and complete the installation. A partial listing of the installation process is shown<br />

in Example 7-3 on page 141.

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

Saved successfully!

Ooh no, something went wrong!