I am getting this error in a program that opens an indexed file in open mode of I/O. Copies of this program is called by several processes at the same time - meaning the same program runs in parallel with each other. Each program reads this file and skips any records it should not process. This happens at a client site, and running this results in a 99 error code intermittently. I don't see documentation of what a 99 i/O error is - but think it may be record locking. We do have code that handled this by looking at a return code of a 9D (locked record condition) and when the program got that, it looped back to do the same read that eventually will get it from another process no longer locking it. We tested this at our shop where program 1 would read the first record in the file and artificially 'pause' while the other 2 thru 12 programs would read that same record and get 9D's.
However, if I know what a 99 I/O was, it would help to discover the issue. It may not be a record lock issue at all.
Here is info on the environment it's running in :
{tav62adm}cat /opt/microfocus/VisualCOBOL6.0/VisualCOBOLEclipse/etc/cobopt
-u -C 'INITCALL "libcfun.so" NOSEG RM"ANSI" NOALTER ANS85 AUTOLOCK PERFORM-TYPE"RM" SPZERO TRUNC IBMCOMP CALLFH"FHREDIR" makesyn "COMP-5" == "COMP-4" NOBOUND'
set GCC_LIB=/usr/lib/gcc/i686-redhat-linux/4.8.2
set GCC_SEARCH_PATH=$GCC_LIB:/usr/lib:/lib
set GCC_EXCEP_LIB=gcc_s



