Hi DB_ECON You can do that very easily by just appending and then sorting them. Suppose your dataset name is A and you need output in B Program:- data B; set A A; run; proc sort data=B; by ID; run; You will get your required result in B dataset.
... View more