Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

S - Position the work window (horizontally and vertically)

&pagelevel(3)&pagelevel

S moves the work window to the required line and column position in two steps.

In the first step, i.e. after the statement code S has been transferred with [DUE] ([F2] has the same effect as [DUE] in statement code S), the specified line is set to overwritable and is positioned in the second line in the work window. A column counter is displayed in the first line of the work window.

In the second step, the line below the column counter is used to move the position to the required column. This is achieved by entering blanks up to just before the required column position and then transferring the input. EDT then positions

  • the line previously specified with S as the first line in the work window, and

  • the work window to the first column which does not contain a blank in this line.

Statement code

Key

S

[DUE] or [F2]

The statement code S is ignored if it is entered in a line which is not (or is no longer) present. The statement code S is not permitted in EDIT-LONG mode.

If the line is not modified in the second step then no column positioning is performed.
Any blanks or other characters that are entered do not modify the original line contents. If it is necessary to move the position to within a range of blanks then the user must enter a non-blank character at the corresponding location.

If the user overwrites the entire text of a line indicated with S with blanks, EDT positions the work window at the first column which is no longer visible on the screen.

In the second processing step (positioning at the required column), any other required statement codes can be entered (and combined). In this case, positioning is performed before the other statement codes are processed. This is of particular importance for the statement code O which is executed in accordance with the rules which apply to a column position which has been moved to the right.

Example

The work window is to be positioned to line 4.00 and the column containing the product name. In the first step, S is therefore entered in line 4.00.

Line 4.00 has been set to overwritable. Blanks are entered in this line up to the required column position.

After transfer, EDT has positioned the work window to line 4.00 and column 18.

Note

It is also possible to position at a line and column in a single dialog step using the @SETF statement. However, in this case, it is necessary to enter the column position as a number.