The general solution probably involves a separate WHERE condition for each incoming data set. To illustrate the syntax (not necessarily the conditions you want to use to subset): set group_a (where=(set < 4)) group_b (where=(set < 3)) group_c; Depending on which subsets you want to take, you might base the WHERE clauses on some other variable that you have already added to the data sets. If you use a single WHERE statement, it would apply to all three data sets (and it might be all you need here): set group_a group_b group_c; where condition=1; Good luck.
... View more