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.

Procedure

  1. 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
  2. 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/*.java
    Supported configurations Supported configurations: Add the marshal.jar and ilcontainer.jar files to your IBM® Rational® Application Developer for WebSphere® Software product build path to compile the stub and data bindings classes.sptcfg

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:27
File name: tgrid_compile_javacall_stubs.html