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


SMFIND command operands

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

text_string
specifies the string of characters to be found. The text_string can be up to 256 characters in length and must be enclosed in delimiters that are not present in the text_string.
STREAM(stream_name)
specifies the name of the stream to be searched.
BACKWARD | FORWARD
BACKWARD
specifies that the Session Manager is to search for the text_string from the current location backward toward the top of the stream.
FORWARD
specifies that the Session Manager is to search for the text_string from the current location forward toward the bottom of the stream.
ALL | FIRST
ALL
specifies that the Session Manager is to find all occurrences of the text_string. The line number of each found text_string is displayed in the output stream for the TSO/E function. Register 15 (and the CLIST variable &LASTCC) contains the line number of the last occurrence of the text_string.
FIRST
specifies that the Session Manager is to find only the first occurrence of the text_string. The Session Manager displays the line number of the found text_string in the output stream for the TSO/E function. It also places the number in register 15 and the CLIST variable &LASTCC.
ANY | ASIS
ANY
specifies that upper and lowercase differences are to be ignored when finding the text_string.
ASIS
specifies that the Session Manager is to find an exact match of the entered text_string.
LINE(line_1:line_2)
specifies the range of lines to be searched.

If only line_1 is specified, the Session Manager searches from that line to the top or bottom of the stream depending on whether BACKWARD or FORWARD is specified.

If you specify a value for line_1 or line_2 that is not in the stream, the Session Manager uses the top or bottom line in the stream.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014