HP OpenVMS Systems

ask the wizard
Content starts here

Resolving RMS Prolog (PLG) Errors?

» close window

The Question is:

We have copied a DAT file to tape and then back to disk.
When i tried to copy the file from disk to disk i recieve.
-RMS-F-PLG, error detected in file's prolog (reconstruct file)
Do you know what it mean ?

The Answer is :

  The OpenVMS Wizard will assume the PLG error arises from the input
  file, and not for the target.  Please verify with a TYPE/PAGE or
  CONVERT /FDL=NLA0: badfile NLA0: or similar command.
  Is this an Indexed file or a Relative file?
  The error message suggests that the file is corrupt after that restore.
  One of the easiest explanations for this involves an input file that
  is marked as /NOBACKUP, of course.  It is also possible that use of
  BACKUP/IGNORE=INTERLOCK resulted in this corruption, as that command
  will override the file data consistency and integrity interlocks.
  You may want to try the restore to a different target disk and using
  a different tape drive, of course, as this could be a disk or tape
  For further analysis, you will need to use tools like ANALYZE/RMS and
  DUMP/BLOCK=COUNT=10 to determine if the binary structure of the file
  is valid and correct.  You can compare this with a working version of
  the file.
  You may wish to learn the details of indexed file structures by reading
  the OpenVMS Guide to File applications.  Should the file be exceedingly
  valuable, then perhaps check out the File Patching section available in
  the rms_tuning presentation in the OpenVMS freeware V5.0 rms_tools
  directory.  Also consider a data restoration service.

answer written or last revised on ( 24-NOV-2003 )

» close window