Summary -

In this topic, we described about the 15 DUPKEY with detailed example.

If this error condition occurred, the task gets abnormally terminated.

CommandRESP2, Description & Solution
DELETE 140 - A record is accessed by way of an alternate index with the NONUNIQUEKEY attribute and another alternate index record with the same key follows.

Solution: - Verify the record key and use READ with UPDATE to delete specific record or use generic key to delete both if the second record is not important.
READ
READNEXT
READPREV
140 - A record is accessed by way of an alternate index with the NONUNIQUEKEY attribute and another alternate index record with the same key follows.

Solution: - Verify the record key and use READ with UPDATE to delete specific record or use generic key to delete both if the second record is not important.