proc univariate data=existing; var a b c; output out=existing sum=Asum Bsum Csum N=Act Bct Cct; run; I already have an existing dataset with 10 variables. I want to add the additional 6 variables from the proc univariate procedure but when I use the output statement, it overwrites all the existing variables instead of adding additional columns. How can I make so it so that the outputs I want (sum and N) are added to an existing dataset? Thank you very much.
... View more