| Directives |
|
| Formats | UPDATE
(chan[,fileopt])varlist
|
|||||||||||||||||||||||||||||||
| Description | The
UPDATE directive is used to update an
existing record to a file (logical file number /
channel). The syntax for this directive is identical to
the WRITE Directive; however, UPDATE
only updates a record if it already exists and
will return an error if the record does not exist. UPDATE may be used against Keyed, Memory, ODBC, and OCI files. When IND= is used with *MEMORY*, this directive overwrites an existing index. |
|||||||||||||||||||||||||||||||
| See Also | WRITE
Add/Update Data in File WRITE RECORD Write Record INSERT Insert New Record in File |
|||||||||||||||||||||||||||||||