I've been trying to WRITE a record to a relative organized file:
SELECT carMasterFile ASSIGN ".\\~Files\\Vehicle Master File.dat"
LOCK MODE IS MANUAL
ORGANIZATION IS RELATIVE
ACCESS MODE IS RANDOM
RELATIVE KEY IS cmfIndex
FILE STATUS IS cmfStatus.
I intentially tried to insert a record with an index/key value that's already existing in the file to check my error handling sentences.
Yet, instead of getting the expected file status 2/2 ("Duplicate key and duplicates are not allowed.") I got a file status of 2/3 ("Key not found."):



The documentation page on file status states that I should have gotten a file status of 2/2.
Why did I get a 2/3 error?
