skip to main content

Calling Java programs or methods

Calling Java programs or methods
This chapter describes how a Java program can call a COBOL program using isCOBOL.
A COBOL program can call a Java program using the CALL statement as long as the Java program implemenents the com.iscobol.rts.IscobolCall interface and exposes the following public method:
Sample programs for this task are installed with isCOBOL in the subfolder sample/is-java/iscobol-call-java.
A COBOL program can invoke any Java method using object oriented syntax or the INVOKE statement.
Sample programs for this task are installed with isCOBOL in the subfolder sample/is-java/iscobol-call-java-object.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left