Skip to main content

Could you please provide an example of calling Java from Visual Cobol ?

Including parameter and return value ?

I've checked the following site , but it looks a bit complicated

and I don't know if it's the only correct way....

https://www.microfocus.com/documentation/visual-cobol/vc60/DevHub/BKDIDIJAFCS005.html

Thank you

Could you please provide an example of calling Java from Visual Cobol ?

Including parameter and return value ?

I've checked the following site , but it looks a bit complicated

and I don't know if it's the only correct way....

https://www.microfocus.com/documentation/visual-cobol/vc60/DevHub/BKDIDIJAFCS005.html

Thank you

Take a look @
- COBOL Calling Static Java Methods (microfocus.com)
- Java Calling COBOL Programs (microfocus.com)


Thank you.

I'll run a demo program to test it.


Thank you.

I'll run a demo program to test it.

Great, remember to ensure you are using 10.0.


Could you please provide an example of calling Java from Visual Cobol ?

Including parameter and return value ?

I've checked the following site , but it looks a bit complicated

and I don't know if it's the only correct way....

https://www.microfocus.com/documentation/visual-cobol/vc60/DevHub/BKDIDIJAFCS005.html

Thank you

If your COBOL is compiled as managed code (JVM COBOL) check this out:

JVM COBOL Programming (microfocus.com)