I am new to SAS an I will like to perform this operation in SAS
7-1*0+3/3
(7-1)*0+3/3
(7-1)*0+(3/3)
Thank you
Hi and welcome to the SAS Communities.
data _null_;
a=7-1*0+3/3; put a=;
a=(7-1)*0+3/3; put a=;
a=(7-1)*0+(3/3); put a=;
run;
Thanks
How can i write
data _null_;
a=7-1*0+3/3; put a=;
a=(7-1)*0+3/3; put a=;
a=(7-1)*0+(3/3); put a=;
run;
in IML or Macro language?
proc iml;
a=7-1*0+3/3; print a;
a=(7-1)*0+3/3; print a;
a=(7-1)*0+(3/3); print a;
quit;
Thanks alot.
@Lawongd wrote:
Thanks
How can i write
data _null_;
a=7-1*0+3/3; put a=;
a=(7-1)*0+3/3; put a=;
a=(7-1)*0+(3/3); put a=;
run;
in IML or Macro language?
The SAS Macro language is used to create sas-code and should not be used for calculations!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.