+

Search Tips   |   Advanced Search

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.


Tasks

  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
    

    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:

  • COBOL container overview
  • Developing COBOL container batch applications
  • Create a COBOL call stub Java class
  • Dynamically updating a COBOL module
  • Generate COBOL call stubs
  • COBOL call stub Java class usage example
  • COBOL RETURNING, RETURN-CODE, getReturnValue, and getReturnCode parameters