I want to pass a parameter to a macro as follows:
%CreateCSVFile(&OutputDirectory || "FD_Summary.csv", 'InputDataset')
This throws an error. I know I can get around it by saying:
Data _Null_;
Informat OutputFile $200.;
OutputFile = &ExperienceOutput || "FD_Summary.csv";
Call Symput('OutputFile',OutputFile);
Run;
%CreateCSVFile(&OutputFile, 'FD_Summary', 1000);
I'd like to avoid the extra data step if I can though. Is this possible?