Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() >—Data Shift Right z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The > (data shift right) line command moves the body of a program statement to the right without shifting the label or comments. This command attempts to prevent loss of data. See Shifting data for more information. Syntax
DescriptionTo data shift one line toward the right side of your display:
To data shift a block of lines toward the right side of your display:
The BOUNDS setting limits data shifting. If you shift data beyond the current BOUNDS setting, the text stops at the right bound and the shifted lines are marked with ==ERR> flags. If an error occurs in an excluded line, you can find the error with the LOCATE command, and remove the error flag by using RESET. ExamplesTo use a data shift to insert
5 blanks before a segment of three lines, specify the shift and the
range in the line command field, as shown in Figure 1.
Figure 1. Before the > (Data Shift
Right) line command
When you press Enter, the editor inserts 5 blanks on the specified
lines. See Figure 2. Notice that the editor
does not shift the data within the BOUNDS setting.![]() Figure 2. After the > (Data Shift Right)
line command
![]() ![]() ![]() ![]() |
![]() |