In SAS, I have a few columns of dollar values and several other columns. I don't care about a row of data if it has 0 values for all dollar values and I don't want these rows in the final data. The columns that are dollar values are already in an array Fix_Missing. I am in the data step.
So, for example, I could do:
IF Fix_Missing{1} NE 0 OR Fix_Missing{2} NE 0 OR Fix_Missing{3} NE 0;
However, the number of variables in the array may change and I want code that works no matter how many variables are in it. Is there an easy way to do this?