Did you know isCOBOL IDE allows you to easily understand how to invoke a method in a Java Class?


IsCOBOL supports OO (Object Oriented syntax) that allows you to invoke a Method in a Java Class. To have additional help on writing the cobol code, isCOBOL IDE helps with its integrated isCOBOL Editor.
For example, to know the operating system where Java is running, we can invoke the "getProperty" method in "java.lang.System" class passing "os.name" as parameter.


              set buffer = Sys:>getProperty("os.name")

In the isCOBOL IDE, after writing "Sys:>" the list of available methods shows up and by choosing a method in the list, the JavaDoc explains what that method does (see the screen shot below).



Article ID: 256
Created: February 1, 2016
Last Updated: May 20, 2022
Author: Support KB Author

Online URL: https://support.veryant.com/support/phpkb/article.php?id=256