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.

7.2.3 EXCI pipe usage<br />

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

► noinput=no<br />

This means the ctgstart script is able to read input if it is started from the<br />

UNIX System Services shell. If ctgstart is run as a started task, this parm has<br />

no effect.<br />

► nonames=on<br />

This controls whether client host names are resolved via the DNS server. This<br />

should be set to on to prevent delays.<br />

► notime=off<br />

This shows the timestamps in the message log. This should be set to off,<br />

since timestamps are very useful in problem determination.<br />

► tfile=/ctg/scsctg5/logs/ctg.trc<br />

This is the location of the trace file. We set it to our <strong>CICS</strong> TG logging directory<br />

we created in 7.2, “Configuration” on page 146.<br />

► workertimeout=1000<br />

This is the time in milliseconds a connection manager thread waits to obtain a<br />

thread from the worker thread pool. This timeout prevents remote Java client<br />

from hanging if all worker threads are in use.<br />

<strong>The</strong> EXCI is used by the <strong>CICS</strong> TG for z/OS to send requests to the <strong>CICS</strong> region<br />

specified in the ECI request. To make an ECI call, the <strong>CICS</strong> TG for z/OS uses the<br />

EXCI CALL interface. <strong>The</strong> EXCI CALL interface provides a low-level API for<br />

calling a <strong>CICS</strong> program using a COMMAREA, and consists of the following six<br />

commands:<br />

1. Initialize_User<br />

2. Allocate_Pipe<br />

3. Open_Pipe<br />

4. DPL_Request<br />

5. Close_Pipe<br />

6. Deallocate_Pipe<br />

<strong>The</strong> <strong>CICS</strong> TG does not perform a Deallocate_Pipe after it performs the initial ECI<br />

request from any given thread. This means that a pipe stays allocated for the<br />

lifetime of the thread and is not deallocated until one of the following occurs:<br />

► An error is received by the <strong>CICS</strong> TG worker thread on an Open_Pipe call<br />

► <strong>The</strong> <strong>CICS</strong> TG worker thread terminates<br />

► <strong>The</strong> <strong>CICS</strong> TG address space terminates<br />

► <strong>The</strong> <strong>CICS</strong> connection is placed out of service or IRC is closed<br />

► <strong>The</strong> <strong>CICS</strong> region terminates

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

Saved successfully!

Ooh no, something went wrong!