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=123;
call symput("x",a);
a is a variable, 123 is the value of variable a, x is macro
variable, symput will assign 123 to macro variable x.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1573


explain about data integrator metadata reports? : Sas-di

556


What is the maximum and minimum length of macro variable

648


What is slibref?

741


how will you location sas platform applications available from web browser? : Sas-bi

536






what are several options for creating reports in web report studio? : Sas-bi

622


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1661


What are all the problems you faced while validating tables and reports?

2998


what do you mean by data staging area? : Sas-di

597


What is the length assigned to the target variable by the scan function?

668


Differentiate between proc means and proc summary.

599


Mention what is PROC in SAS?

597


what is sas and what are the functions? : Sas-administrator

532


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

1913


Name and describe few sas character functions that are used for data cleaning in brief.

658