M204.1933

From m204wiki
Jump to navigation Jump to search

M204.1933  Uniqueness violation during Store Record in a non-TBO file

A uniqueness violation has occurred during processing of a STORE RECORD or IFBREC in a non-TBO file. This can occur only if a file containing unique fields had TBO disabled by a RESET command. The record being stored will remain in table B and indexing for fields already stored will remain in tables C and D. However, the record is logically deleted. If an ON FIELD CONSTRAINT CONFLICT unit exists for the request, it will be invoked. Otherwise, the request will be canceled.

Response: If no ON FCC exists for the request, the "Uniqueness violation" message M204.1702 will have already been issued. From within an ON FCC, the $UPDSTAT, $UPDREC, $UNQREC, $UPDFLD, $UPDVAL, $UPDFILE, and $UPDSTMT SOUL $functions can be used to acquire information about the conflict that occurred. Decisions about how to handle uniqueness conflicts should be made on an application by application basis.

Message attributes:

RETCODEO=24Sets online return code
RETCODEB=24Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
SAVESaves the message in the VIEW ERRORS table

Back to list of messages