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 a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

772


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

802


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

843


Which command is used to perform sorting in sas program?

789


Explain the use of proc print and proc contents?

731


What are types of transport files?

7375


Are you involved in writing the inferential analysis plan? Tables specfications?

1981


What are the differences between sum function and using “+” operator?

790


What are the limitations for memory allocation for SAS variables

1178


Can you explain the process of calendar?

856


Where do you use proc means over proc freq?

760


How can you limit the variables written to output dataset in data step?

1031


What are the advantages of using sas?

860


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

776


What is by-group processing?

749