I think you can use the unix command ‘grep’ from the Qshell.
I’m not an expert in unix-like shells, but the following commands could help you:
‘STRQSH’ to enter Qshell
‘grep “error” /JDEB7333/*.log ‘
this command will display each line containing “error”, and output can be redirected to a file.