Answer Posted / hsong001
Use %eval to do simple calculation for macro variables.
e.g.,
data _null_;
%let a = 1;
%let b = %eval(&a+1);
%put a=&a b=&b;
run;
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Which command is used to save logs in the external file?
Which command is used to perform sorting in sas program?
Describe the ways in which you can create a macro variable?
What is the difference between one to one merge and match merge? Give an example.
it will become easy if uuu provide website linkssss and list of consultanciessssss
For what purposes have you used sas macros? : sas-macro
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
what type of graphs we will create(for 2+years candidates)?
What does P-value signify about the statistical data?
Have you ever used the SAS Debugger?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
How to specify variables to be processed by the freq procedure?
What is the length assigned to the target variable by the scan function?
Give some ways by which you can define the variables to produce the summary report (using proc report)?