The JAVA-CALLABLE directive determines whether the native COBOL program is callable from Java.
>>JAVA-CALLABLE
When the Java file is generated for a COBOL program compiled with this directive, the default package name used is com.microfocus.COBOL. You can override this default by using the JAVA-PACKAGE-NAME source directive.
There is an equivalent conventional Compiler directive, with the same name, that you can use in a $set command or on the command line/project properties to provide the same functionality.
This directive affects native COBOL programs only.
If you are using this directive under DIALECT"ENTCOBOL", we recommend that you also compile with the NOFOLDCALLNAME directive, to preserve the case of the PROGRAM-ID name.