The "java.net.SocketException: Permission denied: connect" exception message may happen when you are working in Application Server or with a client/server environment via VPN connection. This message is returned because isCOBOL uses the IPv4 type... Read More
isCOBOL General
When you get this error: "No X11 DISPLAY variable was set, but this program performed an operation which requires it." It means that isCOBOL is trying to access the AWT/SWING GUI Interface and your system doesn't have that. If your... Read More
You can use regular expressions in your entry-field to validate the contents accepted, and return an error message if necessary. The following example shows how to declare regular expression on a screen section entry-field: ... 03... Read More
This error means that the Metaspace memory limit of the JVM has been reached. This non-heap memory is used to store class descriptions, so this error may appear when running huge applications. You can increase the Metaspace memory by adding two... Read More
You can work with the OOP statements using the Java class named "java.net.URLEncoder", available with the Java Runtime, useful to encode a URL string: http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html The following is an example of... Read More
In KB article #320, we showed how to generate a QR code in your COBOL program. In this article, we'll show you how to call the attached program to generate or read a QR code. Like the earlier article, you must first download 2 jar files, and... Read More
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 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