HP 3000 Manuals

Recovering Files [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Recovering Files 

HP EDIT maintains a recovery file in your logon group that always
contains a reasonably current copy of the text you are editing.  You can
recover the contents of your editing session if a system failure occurs,
except for the possible loss of up to 20 of the most recent changes, by
accessing this recovery file.

Recovery Process 

HP EDIT creates the recovery file Kdddhhmm when you text in a file and
deletes it when you leave HP EDIT or text in another file.  The file
remains in your group if HP EDIT terminates unexpectedly.

In the naming convention used for the recovery file, ddd represents the
Julian day of the year, and hhmm represents the time of day when you
created the file.

Recovery Procedures 

To recover lost text, text in the recovery file when starting HP EDIT or
by using the Text File command from the current session.  HP EDIT
displays certain information about the file and asks whether or not you
want to continue the restoration process.  If you indicate that you want
to continue, HP EDIT attempts a recovery and you can continue to edit the
file.

Another method of handling unexpected system failures is to use the
automatic keep feature, called Autokeep, discussed earlier in this
chapter.  Since this feature periodically saves the contents of your
editing session to the default file, HP EDIT overwrites the previous file
contents.

You can create your own back-up file to avoid unintentionally overwriting
the original file.  By changing the file name when you first start
editing, Autokeep saves the contents of your editing session to the named
back-up file.  When you have finished editing, you can save your text to
the original file name.

File Size Limit 

The [REV BEG]MPE V recovery file contains 256,000 records.  The MPE XL
recovery file contains 2,000,000 records.[REV END] You may run out of
space when editing very large documents if you do something that affects
every line, because the recovery file consumes additional space for
internal record keeping.  If you reach the recovery limit, HP EDIT
displays a message indicating the condition and prompts you to save the
file and exit.


NOTE Unexpected and potentially harmful results can occur if you ignore this message and attempt further editing within the current session. If necessary, it is permissible to move to any existing child sessions and exit from them in order to exit from the overflowed session.


MPE/iX 5.0 Documentation