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

What is the differnce between SDTM 3.1.2 to 3.1.1 version

4726


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

709


Which command is used to save logs in the external file?

668


What does the RUN statement do?

950


what is information maps?

1715






why is a stop statement needed for the point=option on a set statement? : Sas programming

689


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

666


What do you code to create a macro? : sas-macro

677


What are the differences between proc means and proc summary?

692


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

704


What are pdv and it functions?

681


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

824


why is sas data integration studio important? : Sas-di

672


Explain what Proc glm does?

727


What is the use of function Proc summary?

759