How do you add a number to a macro variable?

Answers were Sorted based on User's Feedback



How do you add a number to a macro variable?..

Answer / thanwi

Using %eval function

Is This Answer Correct ?    4 Yes 0 No

How do you add a number to a macro variable?..

Answer / ganesh

If it is an integer we can use %eval ..
If it has decimal values then %sysevalf..

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SAS Interview Questions

how do you read binary data in sas?

3 Answers   Satyam,


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

0 Answers  


how to do user inputs and command line arguments in sas?

0 Answers   D&B, TCS,


what is the use of proc sql? : Sas programming

0 Answers  


What is _n_?

23 Answers   Accenture,


Describe the ways in which you can create macro variables?

0 Answers  


what is business intelligence? : Sas-bi

0 Answers  


What are the statements that are executed only?

0 Answers  


. Which date advances a date, time or date/time value by a given interval?

8 Answers  


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

0 Answers  


What statement do you code to write the record to the file?

5 Answers  


How do you specify the number of iterations and specific condition within a single do loop?

0 Answers  


Categories