$UpdStmt

From m204wiki
Revision as of 17:55, 31 July 2014 by Mlarocca (talk | contribs) (Mlarocca moved page $UPDSTMT to $UpdStmt: Lower case change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.