UNIX System Services ctgtest script

This script tests CICS® Transaction Gateway to ensure that the product is correctly installed and configured.

UNIX System Services ctgtest script

The script is a UNIX script that is supplied in samples/ctgtest. You can use the sample JCL jobs CTGTESTL, and CTGTESTR to run the script, or you can use the command line. The script uses the EciB2 sample program, which requires the sample server program EC01 to be installed on the CICS server.

Sample JCL jobs

The CTGTESTL and CTGTESTR jobs from the SCTGSAMP library must be customized, as indicated in the comments, to replace installation-dependent variables and set the CTGTEST_OPTS environment variable.

CTGTESTR is used for testing a remote mode configuration.

CTGTESTL is used for testing a local mode configuration

Command Line

Before you run the ctgtest script from a command line, parameters for the EciB2 sample program must be set in the environment variable CTGTEST_OPTS, for example,
export CTGTEST_OPTS="jgate=tcp://localhost jgateport=2006 server=myserver prog0=EC01 commarea=mydata userid=myuid password=mypwd"

For a full description of the EciB2 sample parameters, see the Java™ EciB2 sample Upgrading from Version 8 Release 0.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//progdezos/ScriptToTestTheCICSTransactionGateway.html