Editing Considerations
The Delete command of M+R does not actually delete base and derivative records; instead, it flags them as deleted. This allows you to reverse any deletions if necessary. Deleted records are represented by a place holder—a "nnnnnn Lines DELETED" line on the display. The First/Last command on such a line includes those records in view (marked as commented out with (/*) or cut out with (<<)). You can restore the marked records into the remaining code with the Undelete command, while the eXclude or Delete commands fold them back into a place holder line.
The Move line command follows the Delete convention as it is a "composite" command: Move is equivalent to a Copy followed by a Delete.
When you overtype a base or derivative code line, the same Delete convention is in force: Overtype is equivalent to a Repeat followed by a Delete. However, if you overtype a userinserted, pasted, or overtyped record, the previous text is lost. M+R supports logical undeletion of the base and derivatives records, not of the user changes.
To reach a particular location in the code where a pending command will act, you can complement a pending block Move/Copy command with a Find or Locate command.
You can use the Locate command to find a specific base record or the next one. The latter is useful when many records have been inserted after a base record. By entering "L", you can avoid paging through the inserted records.
Repeated Find and Change are supported through [PF5/17] and [PF6/18], respectively.
Multiple line commands can be entered on one screen and executed simultaneously just like in ISPF/PDF Edit.