z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EDIT—MOVE subcommand

z/OS TSO/E Command Reference
SA32-0975-00

Use the MOVE subcommand of EDIT to move one or more records that exist in the data set you are editing. The move operation moves data from a source location to a target location within the same data set and deletes the source data. Existing lines in the target area are shifted toward the end of the data set as required to make room for the incoming data. No lines are lost in the shift.

The target line cannot be within the source area, with the exception that the target line (the first line of the target area) can overlap the last line of the source area.

Upon completion of the move operation, the current line pointer points to the last moved-to line, not to the last line shifted to make room in the target area.

If you do not specify any operands with MOVE, the MOVE subcommand is ignored.

If you cause an attention interruption during the move operation, the data set might be partially changed. As a check, list the affected part of the data set before continuing.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014