Support #2268
openCode Creator temp file
70%
Description
Dear Understanding Society support team,
I am Ziran Wei, and I am quite new to this dataset. I am using the Code Creator to select some variables to do a trial run for my research (namely diabetestypn hcond14 hcondn14 hconds14 jspayu). The problem, however, is when I run the code given (the filepath of course modified), Stata appears to show file temp_a.dta not found. I wonder what I have done wrong and how to make it work.
Best regards.
Files
Updated by Understanding Society User Support Team about 5 hours ago
- Status changed from New to Feedback
- % Done changed from 0 to 70
- Private changed from Yes to No
Hello,
The file you're looking for, temp_a.dta, is automatically deleted in the last loop in the code (around line 170). If you don't change anything in the code except the paths at the beginning, the outcome file will be named UKHLS_wide_hij.dta (here for the wide format). Let us know if this explains the issue.
Best wishes,
UKHLS User Support
Updated by Ziran Wei about 3 hours ago
Hi UKHLS User Support
My problem is that the temp file was never created from the first place I believe, the warning of temp_a.dta not found is first seen here:
use pidp `firstvar' using "temp_`firstWave'", clear
file temp_a.dta not found
rather in the last loop.
Best Regards,
Ziran
Updated by Understanding Society User Support Team about 3 hours ago
Hi Ziran,
I get the code in the attached file when I try your combination of variables. It works for us, can you check it works for you?
Best wishes,
UKHLS User Support
Updated by Ziran Wei about 3 hours ago
Hi,UKHLS User Support
The same problem appears it seems.
I am really confused right now.
Best regards,
Ziran