Well I was assuming you wanted to combine them based on a key, but if they are the same size and you just want them to be in the same dataset in the same order: data combined; merge subject1 subject2; run; Should do it. However if you want to join them with the pseudo key I mentioned above, maybe with additional values, the values would all be populated, unless you create a unique key that you can then join on. Alternatlvely if you are pressed for time you can use a pretty inefficient “first” Data final; Set joined; By subject1; If not first.subject1 then subject2 = “”; run; That would set them all to null. To set a key you could just run this on subject1: Data subject1; Set subject1; By subject1; If first.subject1 then key = substr(subject1, 3,7); run; Then just join on the new key value.
... View more