Overview of File Management Commands

The mvBase system provides a number of system commands for managing files and manipulating the items contained in files. These commands are used for creating, editing, copying, deleting, and clearing files.

The file management commands are:

CLEAR-FILE

Clears the primary file area occupied by the data file or dictionary. (It does not de-allocate the space, however, as does DELETE-FILE.) It also releases linked frames, returning them to the overflow area.

COPY

Copies items to other items in the same file or in another file. It can also be used to copy items to a line printer or a terminal.

COPY-FILE

Renames and/or moves files to a new dictionary. After executing COPY-FILE, the original file is deleted.

CREATE-FILE

Creates new dictionaries and data files in an account by allocating the file’s primary space.

DELETE

Deletes specified items from a file.

DELETE-FILE

Deletes the file dictionary, the data file, or both, from the account. All frames allocated for the file are released.

EDIT and DE

Create, modify or delete individual items in a file. EDIT (or ED) is a line-oriented editor based on the standard MultiValue Editor, and DOC-EDIT (or DE) is a full-screen editor.

MOVE-FILE

Moves a file from one account to another. It sets the group update flags so that incremental saves will work properly.

RENAME

Changes the name of the dictionary portion of a file, the data portion of a file, or both. It sets the group update flags so that incremental saves will work properly.

The following topics are presented in this section:

File Name Syntax

Item Lists

Creating Files

Creating mvBASIC Files

Copying a File

Clearing a File

Deleting Files

Copying File Items

Editing Items

Deleting Items

See Also

Managing Files

File Synonyms

File Security

File Maintenance

Backup and Restoration