| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
| Syntax: | DELETE (lun) KEY=index [,EXCP=statement-label] | ||||
| Discussion: |
The DELETE statement deletes an existing record from a
keyed file.
The
The index parameter defines the index and associated record being
deleted. The index may be a string constant, a single-element
string variable, a string array element, a string expression, or
a string function.
When the DELETE statement is executed, it automatically advances
the file pointer to the next available record in sequential (key)
order, marks the record for deletion, and removes the specified
key from the key list.
|