Spooler Utilities Reference Manual
Peruse
Spooler Utilities Reference Manual—522295-003
3-20
FIND Command
Considerations
The NUMCOL and STARTCOL commands affect the line displayed by FIND. 
FIND will find string even if string is located in an area excluded by a 
NUMCOL or STARTCOL command, but FIND displays only that area permitted by 
NUMCOL and STARTCOL.
If no line is displayed after a FIND command is executed, then there are no 
occurrences of string in the remainder of the job.
FIND without the BOTH parameter distinguishes between uppercase and 
lowercase letters, so that searching for BOY, for example, does not find boy. If you 
want to search for a string that may be in either uppercase or lowercase letters, 
use the BOTH parameter.
You cannot use the FIND command to locate TFORM commands embedded in 
your EDIT file. FIND locates only character strings that appear in the formatted 
copy.
If a batch job is current, Peruse scans the first job that is part of the current batch 
job.
Examples
1. This example shows you how to find errors in your TAL compilation. Once you key 
in the beginning sequence of the error message, you can reexecute the FIND 
command without repeating the string, and the command continues to show you 
the next occurrence of that string:
_FIND /**** ERROR/
 **** ERROR 49 **** Undeclared Identifier
_F
 **** ERROR 27 **** Illegal syntax
2. The example below shows how Peruse can find a phrase regardless of whether 
the characters are uppercase or lowercase:
_F B 'NONSTOP'
NonStop system software.
_
3. In this example, Peruse begins searching on page 95 of the job for the specified 
string:
_F B /debug/ 95
with the DEBUG subcommand.
_










