Dear All,

I'm trying to use the following code to set up global macro and then call do file based on the macro:
Code:
global dataset "passenger"
            if $dataset == "passenger" {
                 do "${indexfolder}/Passenger_code.do"  
             }
However, I got the error:
Code:
passenger not found
Couldn't figure out why, could anyone please help?

Any help will be appreciated!

Many thanks,
Craig