A thought: I've added your code. As I'm going through it, it tests to see if 1.2 is in the data set. If Yes, it checks to see if 1.0 is in the data set. If Yes, it ends. I wonder, though, if when it sees that it's got a value of 1.2 it immediately %PUTs it into the 1.2 group, then checks to see if it's got a value of 1.0. If it does, it %PUTs it into the 1.0 and 1.2 group. That might explain why it's doing it for data sets with both. I imagine if I changed the order, it would take all data sets with 1.0 and 1.2 and put them into the 1.0 group. How do I tell it to only take the last state of var1? More clearly, how do I get it to ignore all previous states expect the most recent? Okay, maybe that's not as clear again. If it gets a yes for 1.2, then a yes for 1.0, how do I tell it to NOT %PUT the data set into ONEptTWO and wait to put it into ONEandONEptTWO?
... View more