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.4.2 Tracing<br />

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

While it is possible to share a pipe, it’s best to set up a new connection within<br />

<strong>CICS</strong>. We found it helpful in problem diagnosis to set up a different pipe as<br />

well as a different terminal prefix. Any transactions coming in via the new pipe<br />

are assigned the new terminal ID.<br />

5. Create a new STDENV member<br />

a. Change the default <strong>CICS</strong> TG and TCP/IP ports<br />

Depending on your implementation, you might want to change the default<br />

ports. If you do this, be sure to also change the applications connecting to<br />

the new <strong>CICS</strong> TG.<br />

If you are cloning your <strong>CICS</strong> TG to support workload balancing, you may<br />

want to keep the same ports and use the SHAREPORT parameter of<br />

TCP/IP.<br />

b. Change pipe name, if necessary<br />

Changing the pipe name when cloning a <strong>CICS</strong> TG may be a good idea,<br />

because it can help with diagnostics. Doing this will also require a new<br />

<strong>CICS</strong> CONNECTION definition and changes to the RACF profiles that<br />

control MRO link security.<br />

c. Change the location of the CTG.INI if necessary<br />

We used the <strong>CICS</strong>CLI variable to set the location of our CTG.INI to our<br />

own /ctg/scsctg4 HFS directory. If you run multiple <strong>Gateway</strong> daemons, we<br />

suggest you set up a new CTG.INI file for each <strong>Gateway</strong>, unless you wish<br />

to clone address spaces when using TCP/IP port sharing.<br />

d. Change the <strong>CICS</strong> TG starting location if necessary<br />

If cloning the same release and maintenance level, you do not have to<br />

update the stating location of the <strong>CICS</strong> TG in the <strong>CICS</strong> TG JCL. However,<br />

if you are testing new maintenance or a different release, you will have to<br />

change the starting locations using the environment variable<br />

CTGSTART_HOME. For details on how we set our environment variables,<br />

refer to 7.2.1, “Defining <strong>CICS</strong> TG environmental variables” on page 148.<br />

You may make references to the starting location in your ctgenvvar and<br />

STDENV DD members, so you should check these as well.<br />

e. Change the CTG_RRMNAME if necessary<br />

If using RRS, you will need to set up a unique CTG_RRMNAME for each<br />

<strong>CICS</strong> TG address space.<br />

To demonstrate the types of traces available, we show you how to diagnose an<br />

error using EXCI, <strong>CICS</strong> TG and JNI traces. We created an error by specifying an

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

Saved successfully!

Ooh no, something went wrong!