Restoring the corrupted entries

In the example above we are now searching for only 7 catalogue entries. Here we have the following possibilities:

  1. Is there a copy of the catalogue on another node in which these entries exist?
  2. Do we have a backup copy, e.g. on tape, in which these entries exist?
  3. Can we find the journal files corresponding to these entries?

We can scan journal files for the entries we need as follows.

             Printing the headers of the journal files
                                  

for i in $FML3/done
   do
      fathead $i >> l3.journal
   done

We then simply grep the file l3.journal for the entries in question and then moved the corresponding files to the /todo directory.