%FOUND returns '1' if the most recent relevant file operation found
a record, a string operation found a match, or a search operation
found an element. Otherwise, this function returns '0'.
If %FOUND is used without the optional file_name parameter, then
it returns the value set for the most recent relevant operation. When
a file_name is specified, then it applies to the most recent relevant
operation on that file.
For file operations, %FOUND is opposite in function to the "no
record found NR" indicator.
For string operations, %FOUND is the same in function as the "found
FD" indicator.
For the LOOKUP operation, %FOUND returns '1' if the operation found
an element satisfying the search conditions. For an example of %FOUND
with LOOKUP, see Figure Figure 2.