The shift line command shifts a line or range of lines by one or more columns to the right or to the left. The shift line command only applies to programs (procedure definition) and data members. You can restrict shift to an inclusive range of lines using the formats below or using the SET EDIT BOUNDS command).
This command has two formats:
( )
(( ))
and
< >
<< >>
The first format ( ) unconditionally shifts data in the column range of 1 to 72. If the shift moves the data out of the edit window, the data is truncated. The second format of the shift line command < > only affects leading or trailing blanks in the column range of 1 to 72.
) or > Shifts a single line to the right.
)) or >> Shifts a block of lines to the right. You must enter )) or >> on the first and last lines of the block to shift.
)B or >B Lines shifted to the right include this line through the last line.
)T or >T Lines shifted to the right include the first line through this line.
( or < Shift single line to the left.
(( or << Shifts a block of lines left. You must enter (( or << on the first and last lines of the block to shift.
(B or <B Lines to shift left include this line through the last line.
(T or <T Lines to shift left include the first line through this line.
Note: You can limit the shift to part of a line or range of lines by placing the cursor on the line being shifted or in the range of lines at the first column you want shifted. Columns to the left of the cursor are not affected.
You can also specify how many columns to shift the data by including a multiplier before or after the command (depending on whether the SET EDIT MULTIPLIER is left or right). With a block shift ‑‑ ((, )), <<, or >> ‑‑ the multiplier is specified at the start of the block.
The range of lines to shift does not need to be on the display screen.
Scrolling and SET EDIT TRUNCATION do not affect the margin command.
You cannot use the shift command in sequential dataviews, reports, and data entities.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|