I have tables A and B and I want the table AB
data A;input id mret;datalines;1 82 53 9;
data B;input id mret;datalines;4 105 126 13;
data AB;input id mret;datalines;1 82 53 94 105 126 13;
data ab; set a b; run;
data ab;
set a b;
run;
Hi @sasphd What you are asking for is an append/union
View solution in original post
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!