if( $2 eq "No" and $3 eq "F" ) { $failed = 1; $failed_job = $1; last LOOP; }