Dear all,
I have a very simple do-file with a few commands. When running this do-file as a whole everything seems to be going fine: all commands run smoothly and the output I get is the one I expect. Yet, when checking my data, I see that some commands, like replace, have not been really executed.
eg.
When I run the do-file with (among others) these commands:
list EnumID VilID HHID ID_entrant aq1 if EnumID == 5 & HHID == 22
replace HHID = 2 if EnumID == 5 & HHID == 22 & aq1 == "BUTYOKA"
list EnumID VilID HHID aq1 ID_entrant if EnumID == 5 & HHID == 2
Then I get the following response
which seems fine.
Yet, when I then copy paste the following line from my do-file into the command box
list EnumID VilID HHID aq1 ID_entrant if EnumID == 5 & HHID == 2
then I get the following response, which is indicating that my data were not really changed...
Can anybody explain what is the problem here? What am I doing wrong? I have added my log file as an attachment.
Thank you,
Kewan Mertens
I have a very simple do-file with a few commands. When running this do-file as a whole everything seems to be going fine: all commands run smoothly and the output I get is the one I expect. Yet, when checking my data, I see that some commands, like replace, have not been really executed.
eg.
When I run the do-file with (among others) these commands:
list EnumID VilID HHID ID_entrant aq1 if EnumID == 5 & HHID == 22
replace HHID = 2 if EnumID == 5 & HHID == 22 & aq1 == "BUTYOKA"
list EnumID VilID HHID aq1 ID_entrant if EnumID == 5 & HHID == 2
Then I get the following response
which seems fine.
Yet, when I then copy paste the following line from my do-file into the command box
list EnumID VilID HHID aq1 ID_entrant if EnumID == 5 & HHID == 2
then I get the following response, which is indicating that my data were not really changed...
Can anybody explain what is the problem here? What am I doing wrong? I have added my log file as an attachment.
Thank you,
Kewan Mertens
Comment