Set rc if a value in a file is > 0
Posted: Tue May 12, 2015 7:37 pm
Hi
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:
//Lasse
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