Running the JCICS examples

CICS provides a number of JCICS examples that you can run in CICS. You can either run the examples in a JVM server, the preferred environment for running Java applications, or you can run them in a pooled JVM.

Before you begin

The JCICS examples must be deployed in a zFS directory to which the CICS region has read and execute access.

Procedure

  1. Ensure that the CICS region is correctly configured:
    • If you want to run the examples in a JVM server, the DFH$OSGI group must be installed in the CICS region. In particular, the DFH$JVMS resource must be enabled in the CICS region. This resource is the supplied sample JVM server and uses the default DFHOSGI profile. The BUNDLE resource containing the OSGi bundles for the JCICS examples must also be enabled.
    • If you want to run the examples in a pooled JVM, the DFH$JVM group must be installed in the CICS region. Edit the default JVM profile DFHJVMPR to add the class path /usshome/samples/dfjcics to the CLASSPATH_SUFFIX option, where usshome is the value of the USSHOME system initialization parameter.
  2. Follow the appropriate procedure to run each sample.