z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


FIND command

z/OS TSO/E Command Reference
SA32-0975-00

Use the FIND command to search for a specific text string in the stream that a window is displaying or to determine the number of the top line displayed in a window.

If the Session Manager finds the text string, it scrolls the window so that the line containing the text string is displayed on the top line of the window and the window is locked. If the text string is not found, the Session Manager places a message in the Session Manager output stream. If you issue the FIND command with a null text string (adjacent quote marks ''), the Session Manager searches for the previous text string.

For the FIND.LINE command, the Session Manager writes the following message in the specified window:
ADF031I  window_name VIEWING LINE nnnnn
‘nnnnn’ is the top line number in the window.

The FIND.LINE command is useful for finding a line number for the SCROLL.ABSOLUTE command, for copying a range of lines using the SMCOPY command, or for locating a text string within a range of lines using the SMFIND command. The Session Manager does not lock the window when you use the FIND.LINE command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014