Hello, I have a table with hundreds of columns. I would like to create one dataset for each column with the observations that match a simple condition. For examble here is my table (I take just 3 variables for the example but I have hundreds) col coll colll ---------------- 1 3 5 2 5 2 10 3 1 8 0 -10 my condition : >=5 I want in return three datasets dcol dcoll and dcolll with : dcol : col coll colll 10 3 1 8 0 -10 dcoll: col coll colll 2 5 2 and dcolll col coll colll 1 3 5 I thought about try to create an array with the name of my variables and then doing a loop with a datastep inside but I don't know how to do this and if it's what to do. Thanks for your help! Céline
... View more