ICL 1900 Series George 3 Operating System Commands

RENAMEDIR (RD)

Function

Alters the name in a tape's directory entry when the existing name in the entry is not the same as the name in the tape's header label. (This circumstance can arise when a GEORGE break has occurred and the restored version of the directory does not have the current tape name.)

Format

RENAMEDIR (tape serial number,general local name)(*MT)

Forbidden contexts

NOT USER

Execution

If the specified tape is owned by the proper user, it is loaded and the name given in the parameter is checked against the header label.If they are the same this name is written to the tape's directory entry. During this process the tape is temporarily marked as being at Query Status. This command has no effect if the directory entry is already correct.

Example

RENAMEDIR (365421,FREDSTAPE)(*MT)

Error Messages

YOU DO NOT OWN z
DESCRIPTION GIVEN DOES NOT AGREE WITH HEADER LABEL
GENERAL LOCAL NAME IS ALREADY IN USE AS A FILENAME
DEVICE QUALIFIER IMPERMISSIBLE
DEVICE QUALIFIER MISSING
SERIAL NUMBER MISSING
z IS A XENOTAPE AND MAY NOT BE REFERRED TO BY THIS COMMAND
MAGNETIC TAPE DESCRIPTION FOR THIS COMMAND MUST CONTAIN A LOCAL NAME
z IS NOT KNOWN TO THE LIBRARIAN