8 File Storage

Renaming a File

The RENAME statement is used to give a DATA file a different name. Syntax for this statement is as follows:

For example:

   RENAME "DATA1" TO "DATA2"
Renames the file DATA1 to DATA2.


   RENAME "DATA1" TO "DATA2,TEST"
Renames DATA1 to DATA2 and moves it to the volume labelled TEST.


   RENAME "DATA1" TO ",TEST"
Moves DATA1 to the volume labelled TEST.


Eloquence Language Manual - 19 DEC 2002