Interoperating with isCOBOL : isCOBOL and Java : Calling isCOBOL from Java
Calling isCOBOL from Java
Introduction
This chapter describes how a Java program can call a COBOL program using isCOBOL.
Programs compiled with isCOBOL can easily be called by Java programs through specific bridge classes.
Sample programs for this task are installed with isCOBOL in the subfolder sample/is-java/java-call-iscobol.
There are basically two approaches for calling a COBOL program from Java:
rely on bridge classes generated by the The EasyLinkage feature
or
The first approach is preferable because you don’t have to take care of defining parameters for the COBOL program.