Multiple Possible Outputs setup instructions

Before you import the sample

  1. Make sure you have a clean workspace.
  2. You need to set up a CICS transaction gateway on a machine to access the server. You also need to perform some setup work on the CICS server, where you want the CICS program to execute. These steps are not covered; contact you CICS server administrator.

After you import the sample,

you need to perform the following steps:

  1. To associate the sample with your CICS server, you need to change the connection information in the bean implementation class.
  2. Open up the CustomerInfoMOImpl.java in a java editor, and change the following tag to include your CICS server connection information.
     /**
     * @j2c.managedConnectionFactory class="com.ibm.connector2.cics.ECIManagedConnectionFactory"
     * @j2c.managedConnectionFactory-property name="ServerName" value="your CICS server"
     * @j2c.managedConnectionFactory-property name="ConnectionURL" value="your connection URL"
     * @j2c.managedConnectionFactory-property name="UserName" value="userid"
     * @j2c.managedConnectionFactory-property name="Password" value="password"
     * @j2c.managedConnectionFactory-property name="TraceLevel" value="1"
     * @generated
     */
               
  3. Note that we are using the default port 2006. If you port number is different, you need to add a tag to define the port number.
  4. Right Click on TestECIMPO, select Run -> Java Application.
  5. You should see the following on the console. To access the console, you should be in the J2EE perspective.

Congratulations, you have completed the different input and output sample.