RFIND—Repeat Find

RFIND locates the search string defined by the most recent SEEK, FIND, or CHANGE command, or excludes a line containing the search string defined by the previous EXCLUDE command.

RFIND can be used repeatedly to find other occurrences of the search string. After a string NOT FOUND message is displayed, the next RFIND issued starts at the first line of the current range for a forward search (FIRST or NEXT specified), or the last line of the current range for a backward search (LAST or PREV specified).

Syntax

Read syntax diagramSkip visual syntax diagramRFIND
Note: RFIND is normally assigned to a program function key, although you can issue it directly from the command line.