5 Answered Questions for the topic sas macro
For in loop equivalent in SAS 9.3?
I'm searching for a while an equivalent of the ***for in* loop** (like in [Python] or in R) in SAS 9.3 macro language. The [DO loop] seem's to be the solution but did't work exactly as I... more
Is it possible to loop over SAS datasets?
I have 60 sas datasets that contain data on consumers individual characteristics such as `id, gender, age, amountSpent, ....` Each dataset shows data only for one time period (data1 is Jan, data2... more
Changing Value of Macro Variable inside SAS macro?
I am defining a macro variable inside a macro. Then, I am feeding it into a second macro. Inside macro2 counter changes value to 200. However, when I check what is inside the macro variable that I... more
sas MACRO ampersand?
%let test = one; %let one = two; %put &test; %put &&test; %put &&&test; %put &&&&test; %put &&&&&test; Well. I'm TOTALLY BEATEN... more