Hi all

I have a problem with the following code (I got it by a colleague...):

use "${logpath}\countryfile_atk_webstats_all", clear

* write header to the output file
cap file close webstatsfile
file open webstatsfile using ${outputfile2}, write text replace ----> the error is in this line
file write webstatsfile "Web Statistics - Atkinson Index"
file close webstatsfile

noi di in b "Generating tables for Baseline report in ${outputfile}"
save "${logpath}\temp_atk1.dta", replace

I runned it, studied the various commands, but I can find the bug...

Thank you a lot!