Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Moving or positioning the work file

&pagelevel(3)&pagelevel

The following statements, which are primarily used in F mode, make it possible to move the required section of a work file into the screen for processing.

+

Moves forwards in the work file (toward the end of the file).
The position can be moved forwards by a given number of
lines or to a record with a specified record mark.

F mode

-

Moves backwards in the work file (toward the beginning of
the file). The position can be moved backwards by a given
number of lines or to a record with a specified record mark.

F mode

++

Moves to the end of the work file or to the last record with a
specified record mark.

F mode

- -

Moves to the beginning of the work file or to the first record
with a specified record mark.

F mode

<

Moves horizontally to the left in the work file, i.e. the data
window can be moved through column-by-column to the left
(toward the start of the record).

F mode

>

Moves horizontally to the right in the work file, i.e. the data
window can be moved through column-by-column to the
right (toward the end of the record).

F mode

<<

Moves horizontally to the start of the record in the work file,
i.e. the data window is moved through column-by-column to
the start of the record.

F mode

#

see @SETF statement

F mode

@END

In L mode, causes the current work file to be exited.
Processing returns to the work file in which the @PROC
statement activating the current work file was issued. In F
mode, @END terminates the EDT session.

F mode
L mode

@ON

(Format 3)

Causes all records in which a hit is identified to be flagged
with the specified record mark. In F mode, the work window
is positioned at the first hit record.

F mode
L mode

@PROC

(Format 1)

In L mode, switches to another work file. This work file then
becomes the current work file.

L mode

@SETF

Simultaneously sets the vertical and horizontal position of
the work window for a work file either with or without
changing the current work file. In F mode, this statement
may be abbreviated to # (if specified with operands).

F mode
L mode

0..22

Switches to another work file.

F mode

$0..$22

Switches to another work file.

F mode