User Tools

Site Tools


ibm:vm370-lib:cmshelp:find.helpedt

FIND

CMS EDIT Subcommands

find.helpedt.txt
FIND                                                        CMS EDIT subcommand

Use the FIND subcommand to locate a line based on its initial character string.
The format of the FIND subcommand is:
+----------+------------------------------------------------------------------+
| Find     | [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 down one line.


Usage Notes:

1.  Only one blank can be used as a delimiter following the FIND 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 bottom of the file when the FIND
    subbcommand is issued the search begins at the top of the file.

Responses:

When verification is on, the line is displayed at the terminal.  If the line is
not found, the message:
   EOF:
is displayed and you may use the REUSE (=) command to search again, beginning
at the top of the file.
ibm/vm370-lib/cmshelp/find.helpedt.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator