I tried your suggestion even before and it didnt work. For some reason, the program returns fail equal to the number of entries found in the file containing the list of subnets. For example, if there are 100 subnets, the output would be 'FAIL' 120 times. Thanks for the advice thus far. Any other suggestions?
~Zuinc