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 to convert .xls file into CSV format?

6 Answers   Quintiles,


How would you identify a macro variable?

0 Answers  


You have a data set of 100 observations,how can you restrict the output so that the output has only data from row no. 10 to row no. 20

9 Answers  


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

0 Answers  


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

0 Answers  






What is a put statement?

0 Answers  


what is study design in while working with SAS? what are screening variables in SAS?

0 Answers   MSCR,


How substr function works in sas?

0 Answers  


what is portability of sas programmes?

2 Answers   Capital One,


What is the purpose of the trailing @? The @@? How would you use them?

10 Answers   Accenture,


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

10 Answers   Accenture,


What is the purpose of trailing @ and @@? How do you use them?

0 Answers  


Categories