EDIT Subcommands-REPLACE, RESTORE REPLACE Use the REPLACE subcommand to replace the current line with a specified
line or to delete the current line and enter inputBode. The format of
theREPLACE subcommand is: r , I Replace L- I [line] I. line specifies an input line that is to replace the current line. If a
line is specified, then the editor puts it into the file in place
of the current line. If no line is specified, the editor deletes
the current line and enters input mode (seeUsage Note 2 for
exception)• 1. If the LINEMODE subcommand with a LEFT or RIGHT operand is in
effect, then issuing theREPLACE subcommand specifying a line is
not valid. If the REPLACE subcommand is used without any operands
whenLINEMODE is set to LEFT or RIGHT, you are prompted for the
next available line number; the first data line you enter replaces
the current line number.
2. If you use theREPLACE subcommand with no operands to enter input
mode, and the next line you enter is a null line, then the current
line is not deleted, and you are returned to edit mode.
3. To stack aREPLACE subcommand in order to enter input mode from a
fixed-length you should use the &STACK control statement.
When verification is on and you issue theREPLACE subcommand with no
data line, the message:INPUT: indicates that your virtual machine is in input mode. RESTORE Use the RESTORE subcommand to restore the settings of EDIT subcommands
to their values when the PRESERVE subcommand was last issued or to their
default values if aPRESERVE subcommand has not been issued. The format
of theRESTORE subcommand is: r- I REStor-e L- 244 VM/37Q eMS Command and Macro Reference
-----,I
line or to delete the current line and enter input
the
line is specified, then the editor puts it into the file in place
of the current line. If no line is specified, the editor deletes
the current line and enters input mode (see
exception)
effect, then issuing the
not valid. If the REPLACE subcommand is used without any operands
when
next available line number; the first data line you enter replaces
the current line number.
2. If you use the
mode, and the next line you enter is a null line, then the current
line is not deleted, and you are returned to edit mode.
3. To stack a
fixed-length
When verification is on and you issue the
data line, the message:
to their values when the PRESERVE subcommand was last issued or to their
default values if a
of the
-----,