Hello. I have multiple datasets whose name has the following format: data_yyyymm. For example, the names of the datasets are data_202211, data_202212, data_202301, and so on. They all have same variables with year and month indicators in each dataset. I want to append these data so that I would have one master dataset that have all these datasets. I was thinking of using the following commands to work: data masterdataset;
set data_202211;
do i = 202212 to 202307;
some kinds of commands for append
end;
run; I was not sure how I could make this code work so that I can have one master dataset. Could anyone give me some suggestion? Thank you in advance for your time and help!
... View more