Hi All,
I have a macro(MyMacro) which I need to execute for a variable in each observation of the dataset.
So I have a data set block like below...
data files;
...
...
call symputx('folderPath',optemp1);
run;
%MyMacro(&folderPath);
run;
The Macro seems to be executing for only one observation(I have 4 observations in the files data set). This may be because of the run statement I have after symputx statement. But without that run statement, symputx does not execute and hence folderPath does not get resolved.
Any suggestions how to handle this.
Thanks,
Neel