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.

7.2.2 Defining <strong>CICS</strong> TG configuration parameters<br />

<strong>The</strong>re are several <strong>CICS</strong> TG configuration parameters that can be modified. We<br />

modified these by editing the CTG.INI file. You can use the X-Windows ctgcfg<br />

tool if you have X-Windows.<br />

Note: <strong>The</strong> <strong>CICS</strong> TG Configuration Tool utility ctgcfg is supplied with the <strong>CICS</strong><br />

TG for z/OS and can be used on z/OS. However, you will need to be familiar<br />

with X-Windows and have configured an X client to be able to use this utility. If<br />

you are not familiar with UNIX and X-Windows, you could simply edit the<br />

CTG.INI file in the /usr/lpp/ctg500/ctg/bin directory.<br />

Another method is to enter ctgcfg -PLAT ZOS on a Windows workstation that<br />

has the <strong>CICS</strong> TG installed. This uses the <strong>CICS</strong> TG for Windows configuration<br />

utility to create z/OS configuration files. Once you’ve saved the CTG.INI file,<br />

you simply FTP it to the location in your <strong>CICS</strong>CLI variable.<br />

Changes to any of these parameters requires a stop and restart of the <strong>CICS</strong> TG<br />

before they will take effect. <strong>The</strong> following is a list of the most important<br />

configuration parameters, along with the values we used:<br />

► initconnect=10<br />

This is the initial number of connection manager threads allocated at startup.<br />

Set this to the “normal” number of clients you expect to support.<br />

► initworker=10<br />

This is the initial number of worker threads allocated at startup. Set this to the<br />

initial number of connection manager threads.<br />

► maxconnect=100<br />

This is the maximum number of connection manager threads. This limits the<br />

maximum number of remote Java clients that can connect to the <strong>CICS</strong> TG<br />

through one of the protocol handlers. Set this to the maximum number of<br />

clients you need to support, but also make sure it is greater than or equal to<br />

maxworker.<br />

► maxworker=100<br />

This is the maximum number of worker threads, which limits the maximum<br />

number of parallel ECI request the <strong>CICS</strong> TG can process. It should be:<br />

– Less than or equal to maxconnect<br />

– Less than or equal to the RECEIVECOUNT set in the <strong>CICS</strong> sessions<br />

definition<br />

– Less than or equal to 100, since this is the maximum number of EXCI<br />

pipes that any z/OS address space can allocate<br />

Chapter 7. TCP connections to the <strong>Gateway</strong> daemon on z/OS 153

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

Saved successfully!

Ooh no, something went wrong!