UPDATE
FUNCTION
This command combines capabilities of ADD, DELETE, and CHANGE commands. It is syntactically similar to the CHANGE command.
SYNTAX
UPDATE link-name function[USING key-file-access][index-file-access] [MISSING KEY[PROCESS IS] procedure] [BUSY[PROCESS IS]procedure] [END[PROCESS IS]procedure] [ERROR[PROCESS IS]procedure] [SELECT[WHEN]condition][PROCESSING[IS]procedure] [TEXT"text-id"[WINDOW window-options]] [RETRY[IS]retry-code-string]- function
- select one of the following:
| "A" | Add record. Record range/access not valid. |
| "U" | Change record. Record range/access valid. |
| "D" | Delete record. Record range/access not valid. |
NOTES
- With OPENworkshop the UPDATE command is supported by the Script-IV language.
- The UPDATE command provides a new function string. This string indicates whether the UPDATE command is to “A” ADD, “U” Change, or “D” DELETE the specified record(s).
- The UPDATE command also supports two new areas of Script functionality: Link I/O Trigger Processing and Format-based Delete Values Processing and Audit Processing
- Comparison of functionality: