Leaving a Row

There are several ways to leave the Edit/Browse Row screen. They are listed in Table 135.

Table 135. Leaving
Edit/Browse Row Screen Commands

Key

Command

Effect

PF3

END

Update/create row and return to the previous screen

PF4

GETCNT

Update/create row and get new row by count

Unsigned number – absolute position
Signed number – relative to current row
No count (default) – next row
Not available for Hash tables

PF6

GETKEY

Update/create row and get new row by key

Default if no key – row with lowest key
Default if no match – next greatest row

PF12

CANCEL

Quit without updating/creating new row

CANCEL does not check the validity of edited data, it discards any entered data and returns to the previous screen

You may also enter any of the following in the command line: GF (GETFIRST), GL (GETLAST), GN (GETCNT) or GP (GETCNT -1).

If any of the commands that update the row are called while there is invalid data in an edited field, the row is left unchanged and the row remains on the screen.

If one of the GET commands is called with valid data in all edited fields but with a count or key that cannot be found, then the row is updated, an error message is issued and the row remains on the screen.