Is it possible to check the value of the row "*** Total number of errors:" and set the RC to 4 if the value is greater than 0
File example:
*** Total number of read records: 000000000979340
*** Total number of processed records: 000000000979339
*** Total number of errors: 000000000000001
*** Total number of processed records: 000000000979339
*** Total number of errors: 000000000000001
//Lasse