If you prefer to use OOP syntax to invoke a COBOL procedural program and pass an array of objects as parameters rather than the standard COBOL CALL statement with USING, isCOBOL provides a feasible approach. First, the isCOBOL class com.iscobol.java... Read More
Interfacing with Java Programs
The isCOBOL Compiler outputs Java classes (actual Java .class files). Each COBOL subprogram becomes a Java class with a method for calling it. This call method accepts the COBOL linkage items as an array of Java Objects. The caller can pass Java... Read More
The attached program 'calendar.cbl' uses OOP to return information about a passed date and the current time using the java.util.GregorianCalendar and other related classes. You can compile and run it as follows: iscc calendar.cbl ... Read More
Here are the steps to compile and run the attached sample COBOL program (in xlsx.zip) which will create an Excel spreadsheet and change the format, font, color and highlight some of the cells. This sample uses Apache POI based on the POI API... Read More