python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to use a SAS Macro inside data step
I'm running a code similare to the following one and the data step is not working and I can't seem to understand why
%macro macro_1(variable);
rsubmit;
data want_&variable. (keep = a b c);
set hav...
Thomas Sere
Votes: 0
Answers: 1
how to resolve error in sas eg error: @echo off statement is not in proper order
sas error 180-322: statement is not valid or not used in proper order.
@echo off
@echo off
rem/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/
call d:/opt/----
please give me the soluion to resolve the error of @e...
varshabbansal
Votes: 0
Answers: 1
SAS Macro: Exporting tables to different sheets within one Excel file
SAS beginner here. I made a macro that creates tables from datasets of different libraries (there is one library for each year). The proc tabulate part works fine. My problem is that I would like to e...
petit_dejeuner
Votes: 0
Answers: 1
do loop within a macro
The code below is returning the following error message:
Syntax error, expecting one of the following: a name, INPUT, PUT.
%macro run_calculation(amt, t, r);
data customer_value;
i=&r./100...

LdM
Votes: 0
Answers: 1