Problem:
The error manual states:
You are trying to open a file which you previously closed with lock, which violates one of the general rules of COBOL programming.
Resolution:
This error can be caused when the UNIX system runs out of file descriptors. When a program opens a file, the operating system returns a corresponding file descriptor that the program refers to in order to process the file.
The command "ulimit -a" displays the current system limits.
Example:
$>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) 0
nofiles(descriptors) 256
vmemory(kbytes) unlimited
In the example above, the system limit on the number of files allowed is set to 256.
The limit can be changed by your system administrator.
Refer to the Operating System documentation or "man" pages for specific commands to use on the local installation.
#netexpress
#AcuCobol
#ServerExpress
#COBOL
#RMCOBOL