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.
Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer.