Starting in batch mode

The recommended way of running the CICS® Transaction Gateway for z/OS® Gateway daemon as a production system is in batch mode. CTGBATCH is a utility, used to launch USS programs through the MVS™ batch environment and route stdout and stderr I/O to MVS destinations.

The CTGBATCH batch mode program provides the ability to write log messages to the following destinations from the CICS Transaction Gateway for the Gateway daemon: Define the log message destinations by including STOUT and STDERR DD statements in the CTGBATCH job step. Do not use an MVS sequential data set for log messages.

CTGBATCH is used primarily to start the Gateway daemon by invoking the USS script ctgstart. To successfully run the ctgstart script some configuration environment variables need to be in place. CTGBATCH parses a STDENV file to set environment variables used by the Gateway daemon. The STDENV file is defined by DD statement STDENV on the CTGBATCH job step.

If you are an existing user, use the conversion tool ctgconvenv to convert the ctgenvvar script to the STDENV file. For information about the STDENV file see STDENV file.

A comprehensive sample is supplied in the SCTGSAMP library. Sample JCL for CTGBATCH can be found in the SCTGSAMP library as members CTGJOB and CTGPROC.


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//ctgzos/dfhtlb6.html