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.

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

EXCI pipe limitations<br />

In <strong>CICS</strong> TS V1.3 and later, a single z/OS address space is limited (by the IRC<br />

code) to only being able to allocate up to 100 EXCI pipes in total, to all attached<br />

<strong>CICS</strong> regions. In contrast, maximum pipe usage in a <strong>CICS</strong> region is limited only<br />

by the number of sessions defined in the <strong>CICS</strong> MRO SESSIONS definition,<br />

which can be up to 999.<br />

<strong>The</strong> following rules apply to the use of the EXCI by the <strong>CICS</strong> TG <strong>V5</strong>.0.0, and<br />

apply equally to worker threads within the <strong>Gateway</strong> daemon or to threads within<br />

<strong>WebSphere</strong> Application Server using the <strong>CICS</strong> TG local protocol.<br />

► Each thread that services an ECI request will allocate an EXCI pipe. This pipe<br />

remains allocated until either the thread is terminated, or the <strong>CICS</strong> MRO<br />

connection is closed.<br />

► Such pipes will be re-used by subsequent requests to the same worker<br />

thread, but pipes are not shared across different worker threads.<br />

► If a worker thread connects to multiple <strong>CICS</strong> regions, then multiple EXCI<br />

pipes will be permanently allocated from the specific thread to these <strong>CICS</strong><br />

regions.<br />

If the <strong>CICS</strong> TG tries to allocate more pipes than there are available <strong>CICS</strong><br />

sessions defined, the EXCI Open_Pipe call will fail with a RETRYABLE response,<br />

and a reason code 202. <strong>The</strong> ECI application will receive a return code -16<br />

(ECI_ERR_RESOURCE_SHORTAGE) and the EXCI User replaceable module<br />

(DFHXCURM) will be invoked. In this instance you should consider configuring<br />

the RECEIVECOUNT parameter in the <strong>CICS</strong> SESSIONS definition to be at least<br />

100.<br />

If the number of EXCI pipes in use exceeds 100, the 101st EXCI Allocate_Pipe<br />

call will fail with a SYSTEM_ERROR response, and a reason code 608. <strong>The</strong> ECI<br />

application will receive a return code -9 (ECI_ERR_SYSTEM_ERROR). Since<br />

this means a limitation in the sending address space has been reached, you<br />

should consider reducing the number of threads (that is, maxworker in the<br />

<strong>Gateway</strong> daemon) to be less than or equal to 100/(number of attached <strong>CICS</strong><br />

regions).

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

Saved successfully!

Ooh no, something went wrong!