Attempt to refactor data checking program for BestAIR SAS