how to assign a macro value to a variable?

Answer Posted / sr

to assign macro value means it already created then

variable=symget(macro var);

variable will get value of that macro variable

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To what type of programms have you used scratch macros?

2343


which features do you use to check the data validations and errors? : Sas-administrator

793


Mention how to limit decimal places for the variable using proc means?

843


what is the use of proc contents and proc print in sas? : Sas-administrator

831


Mention some common errors that are usually committed in sas programming.

806


How to convert a numeric variable to a character variable?

865


How do dates work in SAS data?

902


What is run-group processing?

861


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1692


Can you execute a macro within a macro? Describe. : sas-macro

858


Explain why double trailing @@ is used in input statement?

797


Which are the statements whose placement in the data step is critical?

985


what is sas business intelligence? : Sas-bi

818


Differentiate input and infile.

820


is data integration and etl programming is same? : Sas-di

794