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.

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

<strong>CICS</strong>CLI=/ctg/scsctg5/CTG.INI<br />

CTG_RRMNAME=CCL.CTG.<strong>IBM</strong>.UA<br />

CTGSTART_HOME=/usr/lpp/ctg500/ctg/bin<br />

<strong>The</strong> <strong>CICS</strong> TG <strong>V5</strong> supplies a new and somewhat complex ctgenvvarsamp file as a<br />

sample of the ctgenvvar file used for controlling of environment variables. This<br />

new ctgenvvar will override variables set in other places, such as STDENV. To<br />

understand this new ctgenvvar file, you will need to be familiar with UNIX System<br />

Services and Korn shell scripting. If you are not, we suggest you use a simple<br />

version, such as the one we used (shown in Example 7-8), which does not<br />

override variables set in other places.<br />

Example 7-8 ctgenvvar<br />

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

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

asses/ctgsamples.jar"<br />

CTG_LIBPATH="${CTGSTART_HOME}"<br />

export STEPLIB=${STEPLIB}:${EXCI_OPTIONS}:${EXCI_LOADLIB}<br />

export CLASSPATH=${CTG_USER_CLASSPATH}:${CTG_CLASSPATH}:$CLASSPATH<br />

export LIBPATH=${CTG_USER_LIBPATH}:${CTG_LIBPATH}:$LIBPATH<br />

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${CTG_USER_LIBPATH}:${CTG_LIBPATH}<br />

export PATH=.:/bin:/usr/lpp/java213/J1.3/bin<br />

export JAVA_HOME=/usr/lpp/java213/J1.3<br />

Following is a summary of the variables you are likely to have to set:<br />

► DFHJVPIPE<br />

<strong>The</strong> value specified here should match the NETNAME in the <strong>CICS</strong> connection<br />

definition to be used for an EXCI connection using a specific pipe. <strong>The</strong> default<br />

connection name in the <strong>IBM</strong>-supplied group DFH$EXCI is EXCS, which has a<br />

NETNAME of BATCHCLI. We created our own connection definition, and<br />

used a NETNAME of SCSCTG5.<br />

► DFHJVSYSTEM<br />

<strong>The</strong> syntax of this variable is DFHJVSYSTEM_nn=aaaaaaaa literal, where:<br />

– nn = 0 to 99<br />

– aaaaaaaa = the APPLID of the <strong>CICS</strong> region<br />

– literal = a description of the <strong>CICS</strong> region<br />

Note the setting of this variable is optional, and only affects the result of the<br />

ECIRequest.listSystems() method and does not affect which <strong>CICS</strong> regions<br />

you can connect to.

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

Saved successfully!

Ooh no, something went wrong!