12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EDIT—MOVE Subcommandline_2specifies the last line or the upper limit of the range to be moved. If thespecified line number does not exist in this data set, the range ends with thehighest line number that is less than line_2. If line_2 is not entered, the valuedefaults to the value of line_1; that is, the source becomes one line. Do notenter an asterisk for line_2.If MOVE is followed by two line number operands, the system assumes them torepresent line_1 and line_3, and defaults line_2 to the value of line_1.line_3specifies the target line number; that is, the line at which the moved_to dataarea will start. If the line_3 value corresponds to an existing line, the target lineis changed to line_3 + INCR(lines) and either becomes a new line or displacesan existing line at that location. When the move operation begins, existing linesencountered in the target area are renumbered to make room for the incomingdata. The increment for renumbered lines is one (1). Specifying zero (0) forline_3 puts the moved data at the top of the data set, only if line 0 is empty. Ifline 0 has data, enter TOP followed by MOVE with line_3 set to *. Note thatline_3 defaults to *.The value of line_3 should not fall in the range from line_1 to line_2; that is, thetarget line must not be in the range being moved. Exception: Line_3 can beequal to line_2.* represents the value of the current line pointer.INCR(lines)specifies the line number increment to be used for this move operation. Thedefault is the value in effect for this data before the move operation. When themove operation is complete, the increment reverts to the value in effect beforeMOVE was issued. Range: 1-8 decimal digits, but not zero.The increment for any renumbered line is one (1).‘string’specifies a string of alphanumeric characters with a maximum length equal to orless than the logical record length of the data set you are editing. When acharacter string is specified, a search starting at the current line is done for theline containing the string. When found, that line is the start of the range to bemoved for either numbered or unnumbered data sets.countspecifies the total number of lines (the range) to be moved. Enter 1-8 decimaldigits, but not zero (0) or asterisk (*). The default for count depends on what isspecified for ‘string’ (‘string’ or *).If ‘string’ is specified and count is left blank, the default for count is one (1). Forexample, if you specify:MOVE ’xyz’ 99the count default is one (1).However, if you specify an asterisk (*) for the ‘string’, the next operand istreated as the count entry. For example, if you specify:MOVE * 99the 99 is treated as the count.line_4applies to both numbered and unnumbered data sets. For unnumbered dataChapter 1. <strong>TSO</strong>/E commands and subcommands 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!