SET JOURNALING
(Default.) Enables buffer-change journaling for the buffer you specify,
creating a journal file.
Example:
The following command enables buffer-change journaling for a buffer
named TEST DATA, creating a journal file named TEST_DATA.TPU$JOURNAL:
Command: SET JOURNALING test data
Usage notes:
o If more than one buffer name matches your request, EVE displays a list
of the matching buffer names so you can choose the one you want. See
help on Choices Buffer.
o The buffer-change journal file is created in the directory defined by
the logical name TPU$JOURNAL (default is SYS$SCRATCH, which is usually
your top-level, login directory). The journal file name derives from
the name of the buffer or file you are editing and the file type
.TPU$JOURNAL. For example, the journal file for the Main buffer is
MAIN.TPU$JOURNAL. If you edit a file or buffer named MEMO.TXT, the
journal file is MEMO_TXT.TPU$JOURNAL.
o To check the journal file name for the buffer, use SHOW. To get a list
of all your buffer-change journal files, use the following command:
Command: DCL DIRECTORY TPU$JOURNAL:*.TPU$JOURNAL
o By default, EVE creates a journal file for each text buffer you create.
SET JOURNALING lets you enable journaling for a particular buffer if
you disabled journaling---by invoking EVE with /NOJOURNAL or by using
SET NOJOURNALING ALL.
o You cannot enable journaling for a buffer that is modified. First
write out the buffer (by using WRITE FILE or SAVE FILE), and then
enable journaling.
o To enable journaling for all your buffers, use SET JOURNALING ALL.
o Journal files contain information about the text you edit. If you edit
confidential data, be sure to keep the journal files secure, as well as
the text files.
o For information about recovering your edits, see help on RECOVER
BUFFER.
+------------------------------ NOTE -------------------------------+
| Although journaling and recovery are quite reliable, the safest way |
| to protect your work against a system failure is to write out your |
| edits frequently---particularly during all-day editing sessions. |
+---------------------------------------------------------------------+
Related topics:
Journal Files SET JOURNALING ALL SET NOJOURNALING SHOW