5 Answered Questions for the topic sas macro
Sas Macro Sas
04/22/19
For in loop equivalent in SAS 9.3?
I'm searching for a while an equivalent of the ***for in* loop** (like in [Python][1] or in R) in SAS 9.3 macro language. The [DO loop][2] seem's to be the solution but did't work exactly as I...
more
Sas Macro Sas
04/22/19
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
Sas Macro Sas
04/22/19
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
Sas Macro Sas
03/14/19
Why won't my macro variable resolve?
I have a macro variable, `&myvar`, but it won't resolve when I try to put it in a data step variable. Why won't it, and what can I do to fix this?
%let myvar=Hello, world;
data _null_;
...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.