Hello, New SAS user. Using SAS University through virtual box on win 10. Comfortable coding but getting use to SAS. I have a group of variables (column names) that share a prefix such as: blah1 through blah99. My goal is to count the number of non missing values of each variable and create a new column with that count, I would like to do something like: IF currentVar contains 'blah' and not missing(currentVar) then
do;
...
end; Or is my only option a Do loop with an Array? If so, I will post the issue I am having with my loop later. Or should I create a new table with just those variables and count them? Thanks in advance, Lon
... View more