[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

duplicated file specifications?

» close window

The Question is:

 
Set up:
OpenVMS 5.5-2
VAX 4000/400 and 4000/500
BA350-KF Pedistal
   HSD10-AA controller
   TLZ7L-VA 4mm tape drive
 
 
I have incremential backups that run every night.
Part of the batch file contains the follows DCL:
$ Do_Dir:
$   mount Tape$Drive /over=id
$   dir/size/date/output=Backup$Dir:Tape.lis Tape$Drive
$   dismount/nounload Tape$Drive
$    ...
 
The dir list file will have the dir listed twice.
 
ex.
file-1 56 ...
file-2 98 ...
file-3 12 ...
  .
  .
file-2 98 ...
file-3 12 ...
  .
  .
file-1 56 ...
(end of list)
 
Any ider why?
 
 


The Answer is :

 
  Please make sure that you are not set to a default directory that is a
  search list when you are performing the operation(s) that are returning
  duplicates.  (Examples setting default to a search list include setting
  default to sys$system and sys$manager.)
 
  The default file processing often includes the default directory, and
  each translation of a search list can potentially trigger another
  instance of the file.
 
  The Wizard would strongly recommend the use of the existing documented
  BACKUP command for the creation of backups, rather than copying files
  directly to a tape.  BACKUP provides better error detection and error
  recovery, and provides data redundancy -- it is expressly designed to
  operate with tape drives.
 

answer written or last revised on ( 11-AUG-1998 )

» close window