RENAME-FILE

From NDWiki
Jump to navigation Jump to search
@RENAME-FILE <old file name>, [<new object name>], [:<new type>]

Change file object name and / or type.

<old file name>
an existing file.
<new object name>
(default = no change)
<new type>
(default = no change)

Rules:

  1. Permitted for all user with directory access to the file.
  2. If version is specified in <old file name> only that version is renamed, otherwise all versions are renamed.
  3. Directory name, user name and version number should not be specified in the new file name.

Example:

@RENAME-FILE (P-T:GUEST)F-1:SOU, :SYMB

The file (P-T:GUEST)F-1:SOU is changed to type SYMB.

Related commands

@CREATE-FILE

References

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-161

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD