Running the XDCGIVT sample in CICS

This task contains the steps required to run the XDCGIVT sample application in CICS®.

The XDCGIVT sample is supplied with WebSphere® Application Server v8.5. The sample can be easily packaged to run in the CICS batch container and demonstrates how you can read and update data in DB2® in a job step, using the supplied CICSJDBCReader and CICSJDBCWriter classes, by modifying the xJCL that describes the XDCGIVT job.

For further info on the application see Accessing samples.

The XDCGIVT job is comprised of four job steps:
  • Step One creates the data for the job as a text file on zFS.
  • Step Two reads the data from the text file and writes it to a DB2 table.
  • Step Three reads the data in the DB2 table and writes it to a new text file.
  • Step Four compares the two text files, to check for data integrity.

The feature pack includes sample JCL to define the DB2 table used by the sample, xJCL suitable for running the sample in the CICS batch container, and a Jar file containing the compiled application. The application source is unchanged from that provided with WebSphere Application Server. The only difference is the packaging. The feature pack requires the application to be packaged as a JAR file, rather than an EAR file.



samp_xdcgivt_ovw.html | Timestamp icon Last updated: Sunday, 4 June 2017