Developing COBOL container batch applications

You can use the COBOL container within the product to invoke COBOL modules from a Java-based batch application.

Before you begin

Read the COBOL container overview topic for more detailed information.

About this task

The COBOL container provides a means of direct integration of COBOL into Java batch processing.

Procedure

  1. Create a COBOL call stub Java class

    If you want to call a COBOL module from a Java batch plain old Java object (POJO) in the batch environment, you must first create a COBOL call stub Java class.

  2. Compile a COBOL call stub Java class

    You can compile COBOL call stubs with the marshal.jar and ilcontainer.jar files on the classpath. The marshal.jar and ilcontainer.jar files are included with the COBOL call stub generator tool.

  3. Invoke a COBOL call stub Java class.

    Invoke the Java call stub from your batch application. Read the COBOL call stub Java class usage example topic for more information.

  4. Optional: Dynamically update a COBOL module

    You can dynamically update a COBOL module without having to restart the application server.

Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 18, 2014 05:01 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=tgrid_cobol_container_developing
File name: tgrid_cobol_container_developing.html