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.

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

SETROPTS RACLIST(SURROGAT) REFRESH<br />

Installation of the <strong>CICS</strong> ECI resource adapter<br />

Resource adapters are packaged in Resource Adapter Archive (RAR) files,<br />

which like EAR files are archives made up of JAR files and a deployment<br />

descriptor. <strong>The</strong> <strong>CICS</strong> ECI resource adapter for z/OS is provided in the file<br />

cicseciRRS.rar in the deployable directory of the <strong>CICS</strong> TG installation.<br />

This cicseciRRS.rar resource adapter archive is designed exclusively for z/OS. It<br />

makes use of the two-phase commit capability of RRS to provide support for<br />

global transactions. All non-z/OS platforms use the cicseci.rar file instead.<br />

Unlike <strong>WebSphere</strong> Application Server Advanced Edition, <strong>WebSphere</strong> Application<br />

Server for z/OS does not work with RAR files directly, so you must extract the<br />

contents of the RAR file into a directory, and point the <strong>WebSphere</strong> classpath to<br />

each JAR file in this directory.<br />

To install the <strong>CICS</strong> ECI resource adapter, we entered the following commands<br />

under OMVS:<br />

► export PATH=/usr/lpp/java/<strong>IBM</strong>/J1.3/bin:$PATH<br />

This adds the bin directory of our Java1.3 installation to the PATH<br />

environment variable.<br />

► cd /usr/lpp/ctg500/ctg/deployable<br />

This changes directory to the location where the <strong>CICS</strong> TG supplies the<br />

cicseciRRS.rar file.<br />

► jar -xvf cicseciRRS.rar<br />

This extracts the following files, as shown in Example 10-3.<br />

Example 10-3 Extract of cicseciRRS.rar<br />

$ SC66¨ /usr/lpp/ctg500/ctg/deployable: jar -xvf cicseciRRS.rar<br />

created: META-INF/<br />

extracted: META-INF/MANIFEST.MF<br />

extracted: META-INF/ra.xml<br />

extracted: ccf2.jar<br />

extracted: ctgclient.jar<br />

extracted: ctgserver.jar<br />

extracted: cicseciRRS.jar<br />

extracted: cicsframe.jar<br />

extracted: libCTGJNI.so<br />

extracted: libCTGJNI_g.so<br />

We then used the following commands to add execute permissions for all users<br />

to the <strong>CICS</strong> TG JNI shared library (libCTGJNI.so):

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

Saved successfully!

Ooh no, something went wrong!