Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
M—Move Lines z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The M (move) line command moves lines from one location to another. Syntax>>-M--+---+---------------------------------------------------->< '-n-' >>-MM----------------------------------------------------------><
DescriptionTo move one or more lines within the same data set or member:
To move a block of lines within the same data set or member:
Note: Only blank characters in the
lines specified with O or OO are overlaid with characters in the corresponding
columns from the source lines. Characters that are not blank are not
overlaid. The overlap affects only those characters within the current
column boundaries.
To move lines to another data set or member:
Note: To move lines into an existing
data set or member without replacing that data set or member, use
the MOVE primary or macro command.
ExamplesFigure 1 shows how you can move data by using the M with the A (After) line command. To move a line, type M in the line command field of the line you want to move. Type a A in the line command field of the line you want the moved line to follow. Figure 1. Before the M (Move) line command
When you press Enter, the editor moves the line where you typed the M command to a position immediately after the line where you typed the A command, as shown in Figure 2. If you press Enter before specifying a destination, the editor displays a MOVE/COPY pending message at the top of the panel. The line is not moved until you specify a destination. Note: While in MOVE/COPY pending mode, you can issue FIND and
LOCATE primary commands, but you cannot use a CHANGE command to change
data until after the copy completes.
Figure 2. After the M (MOVE) line command
|
Copyright IBM Corporation 1990, 2014
|