Compiling COBOL call stub Java classes
COBOL call stub Java classes must be compiled with the marshal.jar and ilcontainer.jar files on the class path. The marshal.jar and ilcontainer.jar files are included with the COBOL call stub generator tool.
- To compile the data bindings classes, use the following example:
$ CSG_LIB=/COBOLCallStubGenerator/lib $ javac -cp ./;$CSG_LIB/marshal.jar;$CSG_LIB/ilcontainer.jar \ com/ibm/ws/batch/ilc/sample/parameters/*.java
- To compile the call stub, use the following example:
$ javac -cp ./;$CSG_LIB/marshal.jar;$CSG_LIB/ilcontainer.jar \ com/ibm/ws/batch/ilc/sample/*.javaSupported configurations: Add the marshal.jar and ilcontainer.jar files to the IBM Rational Application Developer for WebSphere Software product build path to compile the stub and data bindings classes.
Related concepts
COBOL container overview
Related tasks
Develop COBOL container batch applications Create a COBOL call stub Java class Dynamically updating a COBOL module Generating COBOL call stubs
COBOL call stub Java class usage example COBOL RETURNING, RETURN-CODE, getReturnValue, and getReturnCode parameters