Skip to Content

 isCOBOL General

How to write custom information inside isCOBOL log file

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

Two options to get the working directory

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

Does isCOBOL support C$REDIRECT?

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

What is the best way to profile an isCOBOL program?

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

Is there any equivalent to COPY RESOURCE?

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

Results 21 - 30 of 100