I'd like to write a where statement as follows: data test; set data1-data60 where (var1 or var2 or var3 or var4) in (1,2,3,4) essentially, what I'm trying to accomplish is to stack data1, ...., data60 and keep rows that has at least one of var1, var2, var3, var4 to have values equal to 1, 2, 3 and/or 4. Is that the correct syntax, and if not, what would the correct one be? Thanks!
... View more