$UpdStmt

From m204wiki
(Redirected from $UPDSTMT)
Jump to navigation Jump to search

The $UPDSTMT function is used in conjunction with the ON FIELD CONSTRAINT CONFLICT unit.

If $UPDSTMT is invoked from an ON FCC unit following the detection of a field-level constraint conflict, it returns the type of User Language statement causing the conflict. The possible values $UPDSTMT returns are:

  • ADD
  • CHANGE
  • INSERT
  • STORE

In all other cases, $UPDSTMT returns a null string. The $UPDSTMT function takes no arguments.