SiouxCityElvis
Programmer
I am using RMCOBOL-85 on a Linux platform.
I've been getting this error off and on for the last 8 months.
I have a handful of Cobol applications("users") that access the same file by an OPEN I-O TEST-FILE statement.
The manual indicates that if I wanted to lock a file that I would have to use a LOCK MODE clause.
I want to permit the file sharing of the above mentioned TEST-FILE. So, then, since I'm NOT using the LOCK-MODE clause, and I DO want to share this file, then why is it that I keep getting into this 99 I/O error which states:
"A DELETE, READ, or REWRITE statement failed because the record is locked by another user".
I've even tested to verify that this happens when I only have 2 different apps("users") accessing the same file by and OPEN I-O TEST-FILE statement and the same error comes up.
Please help or suggest something which may help me finally resolve this issue. It's killing me on 2 different projects now.
Your help would be greatly appreciated.
Thanks.
-Dave
I've been getting this error off and on for the last 8 months.
I have a handful of Cobol applications("users") that access the same file by an OPEN I-O TEST-FILE statement.
The manual indicates that if I wanted to lock a file that I would have to use a LOCK MODE clause.
I want to permit the file sharing of the above mentioned TEST-FILE. So, then, since I'm NOT using the LOCK-MODE clause, and I DO want to share this file, then why is it that I keep getting into this 99 I/O error which states:
"A DELETE, READ, or REWRITE statement failed because the record is locked by another user".
I've even tested to verify that this happens when I only have 2 different apps("users") accessing the same file by and OPEN I-O TEST-FILE statement and the same error comes up.
Please help or suggest something which may help me finally resolve this issue. It's killing me on 2 different projects now.
Your help would be greatly appreciated.
Thanks.
-Dave