How do you add a number to a macro variable?

Answer Posted / kavitha

USING %EVAL FUNCTION
%let i=%eval(&i+1);

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to debug and test the sas program? : Sas-administrator

778


what is sas metadata server? : Sas-di

825


what techniques and/or procs do you use for tables? : Sas programming

792


how do you test for missing values? : Sas programming

782


Tell e how how dealt with..

1968


Tell me more about the parameters in macro? : sas-macro

812


what is the primary data source for the wrs? : Sas-bi

878


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

958


what is the effect of the options statement errors=1? : Sas programming

807


What are the uses of sas?

907


What are the differences between proc means and proc summary?

804


Explain substr function?

789


what type of graphs we will create(for 2+years candidates)?

2082


name the scheduler for scheduling job and explain the scheduler? : Sas-di

805


What are the data types does SAS contain?

844