The DELETE statement deletes a record from a file.
DELETE Statement
| Component | Description |
|---|---|
FILE |
File that includes a record to delete. The file must have the UPDATE attribute. |
KEY |
Record that corresponds with a specified KEY is removed. To use the KEY option, the file must have the DIRECT or SEQUENTIAL KEYED attributes. |