Joined: 10 May 2007 Posts: 2185 Location: Hampshire, UK
Yes, well. I do not see in the SRCHFOR documentation how it can: find a keyword on one line, then find another keyword on a different line, ensure that the second keyword comes before a third keyword and, finally, then write to 2 different report data sets.
As to using the SYSSTMT table, I do not know. Maybe need another hour of research.