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
isCOBOL General
You can specify a list of reserved words to suppress by separating them with commas and no spaces. For example iscc -rw=print,printer PROGRAM.cbl Read More
Question: When I compile I get errors such as the following: C:\2008_gui\OBJECT\MAIN_MENU.java:12810: code too large for try statement } catch (CallOverflowException ex$0){ throw new WrapperException (ex$0); } ^ What do I... Read More
You can obtain a copy for around $30 from ANSI at http://webstore.ansi.org Click here or visit http://webstore.ansi.org and enter INCITS/ISO/IEC 1989-2002 as the Document Number. The title of the document is "INCITS/ISO/IEC... Read More
Question: I am getting an error 39,02 when I try to read my existing Vision file. I discovered that the record size is different than expected and my record has COMP items. Originally I was compiling with ACUCOBOL's -Ci option for ICOBOL... 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
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: 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: 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