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.

all the <strong>CICS</strong> regions with which your J2EE Server whishes to communicate. Full<br />

details on how to configure EXCI connections are supplied in Chapter 4, “EXCI<br />

connections to <strong>CICS</strong>” on page 65.<br />

<strong>The</strong> main choice you must make is to decide if you will use a generic or specific<br />

EXCI pipe to communicate with <strong>CICS</strong>. <strong>The</strong> default is to use a generic pipe (which<br />

is basically an unamed pipe). If you wish to use a specific pipe you must define<br />

the DFHJVPIPE environment variable in the J2EE Server instance that will be<br />

used for the <strong>CICS</strong> connector support. This value must match the NETNAME<br />

parameter of an installed EXCI CONNECTION definition in <strong>CICS</strong>.<br />

We recommend using specific EXCI pipes, as this provides for better monitoring<br />

and accounting within <strong>CICS</strong>. <strong>The</strong> same specific pipe can still be used by multiple<br />

J2EE Server instances, to connect to the same <strong>CICS</strong> region so this does not limit<br />

your ability to work with multiple J2EE Servers in a workload management<br />

environment.<br />

Defining the EXCI library to your J2EE Server<br />

<strong>The</strong> J2EE Server that will use the <strong>CICS</strong> ECI resource adapter needs to access<br />

and load the <strong>CICS</strong> module DFHXCSTB from the SDFHEXCI library supplied with<br />

<strong>CICS</strong>. This library will typically be called <strong>CICS</strong>TS13.<strong>CICS</strong>.SDFHEXCI or<br />

<strong>CICS</strong>TS22.<strong>CICS</strong>.SDFHEXCI, depending on the <strong>CICS</strong> release and naming<br />

conventions you use.<br />

To enable this you will need to complete one of the following steps:<br />

► Add module DFHXCSTB to the LPA.<br />

► Add the SDFHEXCI library to either the system linklist concatenation, or to<br />

the STEPLIB concatenation of the J2EE Server.<br />

We added our SDFHEXCI data set <strong>CICS</strong>TS22.<strong>CICS</strong>.SDFHEXCI to the STEPLIB<br />

in the startup procedure of the J2EE Server instance.<br />

Surrogate security profiles<br />

As a user of the <strong>CICS</strong> TG and the EXCI, the J2EE Server will be subject to RACF<br />

surrogate security checking. If surrogate security checking is enabled in<br />

DFHXCOPT, the EXCI options table, the user ID of the EXCI job (in our case the<br />

user ID of the J2EE Server region) will require read access to the<br />

USERID.DFHEXCI SURROGAT class profile, where USERID is the user ID<br />

flowed in the EXCI request. This authorizes the J2EE Server user ID to act as a<br />

surrogate for the user ID specified by the clients that may invoke J2EE<br />

applications. We defined the following profile, as we wished to give a universal<br />

access of READ to all users (in effect disabling surrogate security) for testing<br />

purposes:<br />

RDEFINE SURROGAT *.DFHEXCI UACC(READ)OWNER (<strong>CICS</strong>RS1)<br />

Chapter 10. <strong>CICS</strong> TG and <strong>WebSphere</strong> Application Server for z/OS 251

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

Saved successfully!

Ooh no, something went wrong!