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

in which companies SAS openings are there? List of companies using SAS technology.

14 Answers   MIR-IFCR, TCS,


what is in stream data in SAS?

1 Answers  


How would you include common or reuse to be processed along with your statements?

0 Answers  


what does the run statement do? : Sas programming

0 Answers  


if i having variables named a b c d e f ,how to find total of each variable ????give syntax...??

6 Answers   Accenture,






How would you define the end of a macro?

0 Answers  


State the difference between INFORMAT and FORMAT ?

0 Answers  


Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?

4 Answers   HP, Oracle,


How to create an external dataset with sas code?

0 Answers  


explain the difference between proc means and proc summary?

0 Answers  


I am looking to buy a sas advance book. So any one can guide me that which one i should buy.

0 Answers  


How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.

1 Answers  


Categories