If you need the value of a variable rather than the
variable itself what would you use to load the value to a
macro variable?

Answer Posted / yuyin

a is macro variable. use following statment to assign the
value of a rather than the variable itself
e.g.
%let a=xyz
x="&a";
this will assign "xyz" to x, not the variable xyz to x

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

name some data transformation used in sas di? : Sas-di

546


What are the data types that sas contain?

651


What are the difference between ceil and floor functions in sas?

706


What are the data types does SAS contain?

650


What are the ways in which macro variables can be created in sas programming?

567






Differentiate between sas functions and sas procedures.

642


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

1679


what is the difference between infile and input? : Sas-administrator

605


What are the ways to do a “table lookup” in sas?

589


Give some examples where proc report’s defaults are same as proc print’s defaults?

637


how does sas handle missing values in a merge? : Sas programming

551


What commands are used in the case of including or excluding any specific variables in the data set?

590


what is the function of catx syntax? : Sas-administrator

646


What is the purpose of _character_ and _numeric_?

585


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

648