The Question is:
How can I repair the damage caused by moving the directory of a disk,
without initialising it?
The mistake made was as follows:
SET DEFAULT DKA100:[VMSINSTAL]
RENAME [-]*.* [.BACKUP]
This unintentially moved 000000.DIR to [VMSINSTAL.BACKUP]. The DCL RENAME
command cannot be used to move 000000.DIR back because there is "nowhere to
The Answer is :
First, consider removing access to enhanced privileges available
to the user(s) involved.
Assuming that the ANALYZE/DISK/REPAIR command and the Freeware DFU
package cannot repair this corruption, you will likely have to
initialize a new disk, BACKUP this disk, and selectively (/SELECT)
restore the contents of the directories on the corrupted disk onto
the newly initialized disk.
In any event, you will want to perform a full BACKUP of the disk
before attempting any repairs.