DELETE Command

The DELETE command removes items from dictionaries or from data files.

Format

DELETE [DICT] filename item-list

Parameter(s)

DICT

Specifies a file dictionary.

filename

Name of the file that contains item-list.

item-list

List of item-IDs to be deleted. Each item-ID is separated by a space. An asterisk (*) specifies all items in the file.

Description

If a select-list is active, the item-list can be omitted.

CAUTION

Use with care. The system does not ask you to confirm the operation before it deletes the file items.

 

NOTE

Do not confuse the DELETE command with the mvBASIC DELETE statement.

Deleting Items

The following example deletes the items ROLLINS and BOCHO from the file CUSTOMERS:

>DELETE CUSTOMERS ROLLINS BOCHO

'ROLLINS' DELETED

'BOCHO' DELETED

 

>