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.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tgrid_cobol_container_developing
檔名:tgrid_cobol_container_developing.html