Java BasicMonitor request monitoring exit sample

This sample shows the basic use of the CICS® Transaction Gateway request monitoring exits. The sample program writes the data available at each exit point to STDOUT or to a file specified by the Java™ property

The class name for this sample is

To enable the sample program on the Gateway daemon you must do the following:
  1. Add ctgsamples.jar to the class path used when starting the CICS Transaction Gateway.
  2. Set the requestexits value in the configuration file (ctg.ini) to
  3. Data is written to STDOUT by default. To capture data to a file use the Java property, for example: