HP OpenVMS Systems

ask the wizard
Content starts here

Rebuilding corrupt RMS Indexed (Prolog 3) file?

» close window

The Question is:

 
I have a 17 million block Prolog3 indexed file with a corrupt index. i have
 created a routine to read/write the file to skip the bad blocks, but the whole
 process takes 35 hours. i MUST improve on this time. HELP PLEASE.
 


The Answer is :

 
  If the corruption is truly located (only) in the file index records,
  then you can probably repair the file via the DCL command:
 
    CONVERT/FAST/NOSORT/STAT file
 
  Based on the file size, you will want to establish an I/O environment
  (stripeset, etc) with SYS$SCRATCH located on another device away from
  from the input and output files for best performance.
 
  For other file corruptions, the first and most common approach involves
  the restoration of the most recent BACKUP, and potentially merging in
  the most recent changes.
 
  Contact with the Compaq Customer Support Center may also be required,
  particularly if you need low-level assistanced to resolve this using
  only the existing (corrupted) file.
 

answer written or last revised on ( 16-NOV-2000 )

» close window