Dear stata users.
I have been having a problem when I try to open a .dta file when using a global macro.
For example, I want to open the .dta file named "canada2" :
global country canada
use "$country2"
returns an error since stata interprets $country2 as an (empty) global that is being called.
How can I get around this problem?
Thank you for your help.
I have been having a problem when I try to open a .dta file when using a global macro.
For example, I want to open the .dta file named "canada2" :
global country canada
use "$country2"
returns an error since stata interprets $country2 as an (empty) global that is being called.
How can I get around this problem?
Thank you for your help.
Comment