Locating a row
To move to a particular row number, use the LOCATE primary command. In a File Manager/Db2 editor session, rows are numbered from 1
upwards and the row number is shown in the prefix area (TABL display mode) or in the upper right
of the panel (SNGL display mode). For example, to move to row 42, enter the following command:
LOCATE 42
In TABL display format, this command scrolls the display (either
forwards or backwards) so that row number 42 is displayed at the top of the screen. In SNGL
display format, the display changes so that row number 42 is displayed. In a File Manager/Db2 editor session, you can also use the
LOCATE primary command to move to a row to which a particular label has been assigned. For
example, to move to the row labeled
.HERE, enter the following command:
LOCATE .HERE
In a File Manager/Db2 editor session, if in TABL display format, this command scrolls the display (either forwards
or backwards) so that the row labeled .HEREis at the top of the screen. In SNGL display format, the display changes so that the row, previously labeled
.HEREin TABL display format, is displayed.
Related tasks
Related references