FINDUP

CMS EDIT Subcommands

findup.helpedt.txt
FINDUP                                                      CMS EDIT subcommand

Use the FINDUP subcommand to locate a line based on its initial character
string, starting from the current line and working backward (up) through the
file.  The format of the FINDUP subcommand is:
+----------+------------------------------------------------------------------+
| FINDUp   | [line]                                                           |
+----------+------------------------------------------------------------------+
where:

line     is any character string, including blanks and tabs, that you expect to
         find beginning in column 1 of an input record.  At least one non-blank
         character must be specified.  If line is not specified or the line
         contains only blanks, the current line pointer is moved up one line.


Usage Notes:

1.  Only one blank can be used as a delimiter following the FINDUP subcommand;
    additional blanks are considered part of the character string.

2.  If the image setting is ON, the editor expands tab characters to the
    appropriate number of blanks before searching for the line.

3.  If the current line pointer is at the top of the file when the FINDUP
    subbcommand is issued the search begins at the bottom of the file.

Responses:

When verification is on, the line is displayed at the terminal.  If the line is
not found, the message:
   TOF:
is displayed and you may use the REUSE (=) command to search again, beginning
at the bottom of the file.