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
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_compile_javacall_stubs
File name: tgrid_compile_javacall_stubs.html