I used proc append to add observations from one sas data set to the end of another sas data set. However, I noticed the size of new dataset is much bigger than the sum of three adding data sets. I thought the size should be around the sum of three. Is there something wrong with the code?
data d.rat15to17; set d.rat15; run; proc append base=d.rat15to17 data=d.rat16; run; proc append base=d.srat15to17 data=d.rat17; run;
The variable lengths are different and I checked I didn't compress the data in the new files which caused the size difference.
SAS INNOVATE 2024
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.