The error message "Native call not found" means that the COBOL program has called a C language (native) function that has the same name as the native library (.dll or .so), but the function does not exist. For example, the first statement in the... Read More
isCOBOL General
The isCOBOL runtime framework is backwards compatible with prior versions of isCOBOL. This means that the latest version of isCOBOL can run COBOL programs compiled with an older version of isCOBOL. Although it is not necessary, it is best to... Read More
In order to configure file locations with environment variables you need to add the following line to your isCOBOL properties file: iscobol.file.env_naming=1 or on the java command line with -Discobol.file.env_naming=1 and then set properties for... Read More
Question: isCOBOL has compile options for ANSI (-sa), FREE (-sf) or TERMINAL (-st) format. What if I have a source file in one format that copies in a file that is in another format? How do I compile the program? For example what if I have a... Read More
Use the -cp compiler option to enable full POINTER support, including USAGE POINTER, SET ADDRESS, pointer arithmetic and exchanging pointers with external routines. The remainder of this article applies to programs compiled without the -cp... Read More
Run your program directly with the java executable, as in "java PROGRAM". You can also set iscobol.tracelevel=15 and the file named in iscobol.logfile will contain verbose trace information. Read More
Question: My program uses a lot of USAGE HANDLE items that I set to NULL and check for NULL to mean that the handle has not been created yet. The compiler gives errors such as the following when I compare a USAGE HANDLE item with NULL in a... Read More
Question: Setting the paper size to WPRT-11x17 does not work. How can I get 11x17 printouts? Answer: In isCOBOL APS, the WIN$PRINTER library routine is implemented using platform independent Java technology that does not support... Read More
Question: Is it possible to use object-oriented COBOL to subclass a Java class? Can you provide an example of how this looks in COBOL? Is it possible to go the other way and extend a COBOL object class with Java (e.g. class myJavaSubClass... Read More
Question: When compiling a large program I got the following error: The system is out of resources. java.lang.OutOfMemoryError: Java heap space How do I increase the maximum heap size? Answer: Use the Java -Xmx... Read More