Java BasicCicsPlugin sample

The com.ibm.ctg.samples.intercept.BasicCicsPlugin sample, which is written in Java™, is provided with this feature.

This sample shows the basic use of the CICS® Intercept plug-in. The sample program intercepts requests for the EC01 and EC03 CICS server programs and returns a simulated response. The sample can be used with all EciB1 and EciB3 samples in remote mode, and with the WSBind file from scenario SC11 for JSON web services. The BasicCicsPlugin sample is compiled into ctgsamples.jar along with all other Java samples.

To enable the BasicCicsPlugin sample on the Gateway daemon, set the cicsintercept value in the configuration file (ctg.ini) to com.ibm.ctg.samples.intercept.BasicCicsPlugin.