Saving Text [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Saving Text
When you have finished editing a file, you can save the text with the
Keep Text command. HP EDIT generates a standard ASCII file, which is
compatible with files used by EDIT/V or any text processor that uses
standard file formats. By default, HP EDIT saves the contents of your
file to the original file name. However, you can save all or any portion
of your file to another file name. For information about partial keeps,
refer to the Keep Text command in chapter 4.
Numbered And COBOL Files
When you keep the contents of your editing session, HP EDIT saves
standard numbered files using fixed-length records with ascending 8-digit
(leading zeros as necessary) numbers in the last eight columns. HP EDIT
always keeps COBOL files in files of type EDTCT (1052) with six-digit
line numbers in the first six columns. This ensures compatibility with
language processors and other subsystems, including the EDIT/V line
editor.
If desired, you can renumber all lines with a constant increment when you
save the text by enabling the Renumber Lines parameter from the Set
Options screen.
Autokeep
HP EDIT provides an automatic keep feature, called Autokeep, that
periodically saves the contents of your editing session. Autokeep
automatically saves your text whenever a predefined number of
text-altering commands have been executed.
You can regulate the frequency of saves by specifying a value from 0
(disables Autokeep) to 10,000. A reasonable interval size is typically
about 25 commands.
HP EDIT limits its tracking to keyboard commands, not those issued within
a macro.
MPE/iX 5.0 Documentation