DELETE-LIST Command

The DELETE-LIST command removes the pointer to a saved select-list. When a select-list is deleted, the frames used to store it are returned to the available space table.

Format

DELETE-LIST [filename] list-name [list-name...]

Parameter(s)

filename

Specifies pointer-file where the select-list is stored. If filename is not specified, the default is POINTER-FILE.

list-name

Name of the select-list. If list-name is not specified, the default is @.

 

CAUTION

Use this command with care. The system does not ask you to confirm the operation before it deletes the select-list.

Deleting a Saved Select-list

Assume that you created a select-list to use in a series of operations. When these operations are complete, you want to delete the select-list to conserve disk space. This example deletes the previously saved select-list called LATE from the CUSTOMER file:

> DELETE-LIST CUSTOMER LATE

'LATE' DELETED.