Java Batch ILC sample

This sample application demonstrates how to invoke COBOL modules from within your Java applications.

Prerequisites for use

  • WebSphere® Application Server Version 8.5
[z/OS] Important: These samples were tested with WebSphere Application Server Version 8.5. These samples are valid on z/OS only.

Samples download

To use the samples, download Java Batch ILC sample files from a product download site:

  1. Choose one of the following methods to download the sample_ilc.zip file to a directory on your workstation: FTP or HTTP. You might create the /samples/ilc directory path on your workstation and download Java Batch ILC sample files to that directory path.
  2. From the displayed dialog, specify the target directory to which to save the compressed file and click OK.
    The sample_ilc.zip file contains sample files in the following directory structure:
      /images
      /installableApps
      /scripts
      /src
      /style
      build.xml
      readme.html
    Attention: The readme.html file contains information for installing and running the sample.

Samples description

Java Batch ILC sample
You can install, run, and monitor an application that invokes COBOL modules using the ILC sample application. The COBOL container enables COBOL modules to be loaded into the WebSphere Application Server for z/OS® address space, where they are invoked directly.
This sample application includes the COBOL source code that is invoked from Java, as well as four xJCL examples:
  • Reads and writes data using text files (ILCSampletxt2txtxJCL.xml)
  • Reads and writes data using a DB2® database, the basic JDBC Reader, and Writer patterns (ILCSamplejdbc2jdbcxJCL.xml)
  • Reads and writes data using a DB2 database, using a Holdable Cursor batch data stream (ILCSamplecurs2cursxJCL.xml)
  • Loads and run multiple COBOL application modules sequentially (ILCSampleDataTypesxJCL.xml)
Concept topic    

Terms and conditions for product documentation | Feedback

Last updated: January 29, 2018 04:57 AM GMT-06:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=sample_jb_ilc
File name: sample_jb_ilc.html