Last Update:            12-Jan-2001
Operating System:       NT
Component:              Renamedb utility
Base Level Required:    PMDF V6.0-23
Other Requirements:     none

Platform                Subdirectory            File(s) to download
--------                ------------            --------------------
OpenVMS VAX             [.VMS.VAX_EXE]          n/a
OpenVMS Alpha           [.VMS.ALPHA_EXE]        n/a
Digital UNIX            osf/bin/                n/a
Solaris SPARC           solaris-sparc/bin/      n/a
Solaris x86             solaris-x86/bin/        n/a
NT Intel                nt/bin/                 renamedb.exe
OS2                     os2/                    n/a


GENERAL INFO
-------------

    When FTPing these images, be sure to FTP them as binary images. Before
 retrieving such an image with the GET command, be sure to put your FTP
 into binary mode with a command such as TYPE IMAGE or TYPE BINARY.


Change history
---------------
12-Jan-2001
  renamedb now works differently on NT.  There are two cases:

       pmdf renamedb oldfilename newfilename
  and
       pmdf renamedb oldfilename symbolicname

  It makes no difference whether oldfilename is a real filename (eg
  d:/pmdf/table/test) or a symbolic name (eg PMDF_ALIAS_DATABASE).  It
  makes a big difference if the destination is a real filename or not.

  If the destination is a real filename then the behavior is unchanged, and
  may fail if the destination is a database that is open.

  If the destination is a symbolic name and the file cannot be removed,
  there is new behavior.  For instance, if the destination is
  PMDF_ALIAS_DATABASE and the value of PMDF_ALIAS_DATABASE in the registry
  is d:\pmdf\table\aliasesdb and the file d:\pmdf\table\aliasesdb.db is is
  use, then the source file is renamed to d:\pmdf\table\aliasesdb;1.db and
  the value of PMDF_ALIAS_DATABASE is changed in the registry.

  There is a bias to the base name (with no ;nn suffix), but the code will
  use up to ;99 if there are 99 versions of the file in use.

9-May-2000
  Fixed a problem whereby using pmdf renamedb would give an error if the file
  already exists.  With the new renamedb.exe, the original file will
  now successfully be replaced.

Installation
------------

OpenVMS [VAX] [ALPHA]

        n/a

UNIX [Digital UNIX] [Solaris]

        n/a

NT

       To install the new renamedb.exe place the image into C:\pmdf\bin,
       depending on where you chose to install pmdf.