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
isCOBOL General
QR codes can be generated as bitmap files using the ZXing (Zebra Crossing) barcode scanning library.All the file types supported by the W$BITMAP routine can be used. Here are the steps to compile and run the sample COBOL program (QRSAMPLE.cbl) which... Read More
It is often necessary and desirable to prevent the misuse of user licenses or to avoid idle thin-client threads on the isCOBOL Application server. Automatically terminating a thin-client session that has been left idle on an accept statement of a... Read More
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
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
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 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
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