Hi everyone:
I need to append 50 datasets. The datasets were saved as data1.dta data2.dta... I tried by this way:
use "E:\Backup\test\data1.dta", clear
foreach num of numlist 2/50 {
append using data`num'
}
But it was not work. The message of error was: file data2 not found
Please, is it possible to see the problem with the commands?
Thanks a lot.
Ana Elisa
I need to append 50 datasets. The datasets were saved as data1.dta data2.dta... I tried by this way:
use "E:\Backup\test\data1.dta", clear
foreach num of numlist 2/50 {
append using data`num'
}
But it was not work. The message of error was: file data2 not found
Please, is it possible to see the problem with the commands?
Thanks a lot.
Ana Elisa
Comment