isCOBOL supports a library routine named "C$WRITELOG". This routine will add custom information to an isCOBOL log file. When running with the configuration iscobol.tracelevel set to a value greater than 0, the parameter that is sent to C$WRITELOG... Read More
isCOBOL General
There are two library routines that allow to retrieve this information. 1. C$CHDIR called using a blank data-item initialize curr-dir.|curr-dir pic x(256). call "C$CHDIR" using curr-dir. display "Current directory: " curr-dir. ... Read More
Question: My program displays a menu and I can press down-arrow 8 times and sit there and watch while the menu item selection moves down to catch up. I want to profile my program to see what operations are accounting for the slow user interface... Read More
C$REDIRECT is used to assign a different file I/O handler to a file. There are several options to do the same in isCOBOL. In version 2022R2 and later, you can write a hook program using this configuration to change the file handler class in the hook... Read More
Question: I got the following compiler warning. Is there any equivalent for the COPY RESOURCE functionality? --W: Directive ignored: COPY RESOURCE; file = smSWLOGON.CO, line = 1783, col Answer: Prior to version 2022R1, the isCOBOL... Read More
Question: When I run my program with an older version of the Java runtime environment I get the following error: java.lang.UnsupportedClassVersionError: ABCPROG has been compiled by a more recent version of the Java Runtime (class file version... Read More
Question: What products in isCOBOL run on z/OS? Answer: The JDK on z/OS is called "IBM SDK for z/OS Java Technology Edition", which you can download here. The following isCOBOL products and features are implemented as pure Java classes with... Read More
Question: Can I include DLLs and/or .so files in the same JAR file as my application? Will the application be able to call those DLLs or shared objects in the JAR file? If not, then what is the best way to distribute DLLs with my application if I... Read More
Since we are constantly adding support for Micro Focus library routines, the best way to get a current list of them is to look in isCOBOL's documentation. You'll find a "Transitioning from Microfocus" book with a section for "Library... Read More
Question: My application calls the ACUCOBOL-GT library routine named C$XML. It is supported? What are other ways to handle XML? Answer: Though isCOBOL supports XML streams natively in several powerful methods, it also supports C$XML specifically... Read More