NAME amove - move (rename) file1 to file2 SYNOPSIS stat = amove (name1, name2) character name1(FILENAMESIZE), name2(FILENAMESIZE) integer stat returned as OK/ERR DESCRIPTION Amove moves the contents of the file specified by name1 to the file specified by name2. It is essentially a renaming of the file. If the file could be moved properly, OK is returned. If there were problems either creating the new file or deleting the old one, ERR is returned. Both file names are ascii character strings terminated with an EOS marker. The files need not be connected to the running program to be renamed. IMPLEMENTATION Amove primarily exists to change the name of a file, such as when moving the archive scratch file back to the original. If possible, this should be implemented with a "rename" primitive in the local operating system. If this capability isn't available, amove could be implemented as a copy/delete combination. Amoves from different devices will most likely have to be implemented as copy/remove operations. If the system supports naming conventions for devices such as TTYs, then amoving a file to a TTY should copy the file to the TTY and then remove it. SEE ALSO fcopy, remove DIAGNOSTICS None