VMS Help  —  CRTL  Feature Logical Names, DECC$RENAME_NO_INHERIT
    DECC$RENAME_NO_INHERIT provides more UNIX compliant behavior in
    the rename function. With DECC$RENAME_NO_INHERIT enabled, the
    following behaviors are enforced:

    o  If the old argument points to the pathname of a file that
       is not a directory, the new argument will not point to the
       pathname of a directory.

    o  The new argument cannot point to a directory that exists.

    o  If the old argument points to the pathname of a directory, the
       new argument will not point to the pathname of a file that is
       not a directory.

    o  The new name for the file does not inherit anything from
       the old name. The new name must be specified completely. For
       example:

       Renaming "A.A" to "B" yields "B"

    With this logical name disabled, you get the expected OpenVMS
    behavior. For example:

    Renaming "A.A" to "B" yields "B.A"
Close Help