Status:Closed    Asked:Jul 27, 2018 - 09:09 AM

Hi I am trying to download an extract and turn it into a DTA file to use in STATA but I am getting an error message

Hi I am trying to download an extract but I am getting this error message when I try to execute the do.file

file nhis_00001.dat not found

Do you have the same question? Follow this Question

Staff Answer


Jeff Bloem


It sounds like the working directory is not set up correctly. In situations where specifying the file path doesn't seem to be working properly, I suggest setting up the working directory by using the drop-down menu in Stata. This will cut out any issues with an incorrect specification of the file path. Go to File > Change Working Directory, then navigate to the folder where your data files are saved. This should do the trick. If you have continued challenges, feel free to email us directly at


Jul 27, 2018 - 10:00 AM

Report it


Record too long message when running do file for extract in STATA
cannot extract .dta.gz file
What does the error message "Libref IPUMS not assigend" mean?
How can I get my data file to download to my computer using R? Currently an ...
Login   |   Register

Recently Active Members

View More »

Share |