Piping can be used for files declared as: a) a printer file (ASSIGN TO PRINTER) b) a line sequential file (assuming to compile with -flsu) In all other cases (relative file, binary sequential file etc) piping it is not allowed. Here a simple... Read More
isCOBOL General
isCOBOL can run any Crystal Reports executable with a CALL "C$SYSTEM" or similar library routine, passing a text or comma delimited file with basic level information. We have had success in the past using the ReportViewerBean included in the... Read More
You can run JvisualVM to monitor, troubleshoot, and profile your jvm when using isCOBOL Server. There are detailed instructions in the isCOBOL Application Server documentation, in a chapter called "Tuning and monitoring isCOBOL Server with JvisualVM... Read More
A common practice in COBOL programming is to manage switches to change the behavior of the program. In isCOBOL there are four ways to accomplish this task: In your configuration file using the "iscobol.switches=" configuration variable You can... Read More
You can use the attached code as a framework to read your Excel spreadsheet. The sample reads an Excel spreadsheet and display the contents using the Apache POI, installed with your isCOBOL runtime. Compile and run it, passing the name of your... Read More
If you find yourself needing to send SMS messages from an isCOBOL application, there are several ways to accomplish this by using a third-party API. For example, Twilio offers a widely-used and robust solution. To use the Twilio API, you'll... Read More
Each installation setup includes a README. This README file lists all the new features in that release. There is also a file named CHANGELOG.txt that lists all changes in the release, in order of build and ID number. For instance, if you update... Read More
In isCOBOL you may get a Java note saying something similar to "... uses unchecked or unsafe operations." This warning is displayed when you execute code which the Java compiler considers to be lacking in error-checking, or potentially unsafe in... Read More
One way to get the week number of a passed date is to use intrinsic functions. Using several functions available in isCOBOL, you can get the Julian date, which will give you the date's number of days in the year. Divide this by 7 and you'll... Read More
When you install isCOBOL, it asks you for the location of the Java installation, and saves this path in a file or files. Then all the executable wrappers installed in the %isCOBOL%/bin folder look for this file to find Java. If you install a new... Read More