Get the error data from .txt file



In the attached sample i need to FIND first “LIST OF RECEIVED ERRONEOUS FILES” text.and after that if there is
is no error then do nothing else take the data from “CP/FIRM” column and display all data

in sample file there are three errors so i need to take the data form “CP/FIRM” column as BP 777 and BP 877 SP 556 SP 87 (810 Bytes)