|
VMS Help COBOL, Run-Time Messages, NOT_LOCKED_IDX *Conan The Librarian |
Previous indexed START or READ did not lock record
Explanation: When your program executes a REWRITE or DELETE statement
for a file in sequential access mode, the current record must be locked.
This message indicates that, for an indexed file, this condition was
not met.
User Action: You must take the following actions:
a. Verify that the previous START or READ statement that
established the current record did not include an
ALLOWING UPDATERS file sharing option. This option does
not lock the record.
b. Check the program logic to ensure that there are no UNLOCK
statements that unlocked the current record.
|
|