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.

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

use the EciI1 transactional ECI sample, which uses classes supplied in<br />

ctgsamples.jar. To enable use of EciI1, we set the CTG_CLASSPATH in<br />

ctgenvvar as follows:<br />

CTG_CLASSPATH="${CTGSTART_HOME}/../classes/ctgclient.jar:${CTGSTART_HOME}<br />

/../classes/ctgserver.jar:${CTGSTART_HOME}/../classes/cfwk.zip:<br />

${CTGSTART_HOME}/../classes/ctgsamples.jar"<br />

► CTG_RRMNAME<br />

This is the name that the <strong>CICS</strong> TG registers with Resource Recovery<br />

Services (RRS) for transactional EXCI requests to <strong>CICS</strong>. You will only need to<br />

modify this if using transactional EXCI requests. <strong>The</strong> default RRMNAME is<br />

CCL.CTG.<strong>IBM</strong>.UA. If you choose not to use the default name, you must obey<br />

the naming rules for RRS groups.<br />

<strong>The</strong> name can consist of the following printable characters:<br />

– Alphanumeric characters: A-Z and 0-9<br />

– National characters: $ (X'5B'), # (X'7B'), @ (X'7C')<br />

– <strong>The</strong> period (.)<br />

– <strong>The</strong> underscore (_)<br />

RRM name restrictions include:<br />

– <strong>The</strong> name cannot start with a blank or contain embedded blanks.<br />

– Lowercase characters are converted to uppercase characters.<br />

– To avoid naming conflicts, use A-C or G-I as the first character.<br />

– <strong>The</strong> length of CTG_RRMNAME must not exceed 32 characters and must<br />

end with the characters <strong>IBM</strong>.UA<br />

<strong>Transaction</strong>al EXCI: <strong>Transaction</strong>al EXCI is an application programming<br />

interface (API) that allows the <strong>CICS</strong> server unit of work to be continued over<br />

multiple EXCI calls, until the EXCI client decides to commit or back out the unit<br />

of work. This means that multiple ECI requests from the <strong>CICS</strong> TG for z/OS in<br />

Extend_Mode can be part of the same logical unit of work, and can be<br />

coordinated using a two-phase commit mechanism from the <strong>CICS</strong> TG for<br />

z/OS to the <strong>CICS</strong> server.<br />

<strong>The</strong> EXCI requests can only be transactional if the <strong>CICS</strong> TG started task using<br />

the EXCI and the <strong>CICS</strong> region execute in the same z/OS image.

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

Saved successfully!

Ooh no, something went wrong!