Hi all.
I have a function which saves text data to a log file. I want process A to write a bunch of data (an XML transaction) and THEN have process B write some other data. Currently the function opens the log file with extend, writes the data, and closes the file. (The write uses "WITH NO CONTROL"). Most of the time things are fine, but the red hat enterprise server it's running on will occasionally merge the output together - character by character so it looks encrypted! I know I can fix this by simply adding an extra step - try to lock the file and keep trying until it becomes available. I'm wondering if there some kind of setting that will 'chunk' the data together so the two processes do not overlap each other. Note: I'm fairly sure I already tried "BLOCK CONTAINS" a while back, with a size large enough for the chunk of data - didn't help. Runtime is version 9.2.1
#ACUCOBOL9.2.1
#unix



