I understand that but how come SAS allows the IF statement to operate normally and give you the correct results even though VAR1 is a numeric type and I am using a string "4" in it to subset the data set. Shouldn't it have detected that VAR1 was numeric and therefore I cannot use the string "4" with VAR1. I found that behavior very strange. Maybe it was there all the time and now I am just noticing.
Message was edited by: sjm500
Message was edited by: sjm500
... View more