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

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

638


What is SAS informats?

732


What are the functions used for character handling?

746


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1694


How do you debug and test your SAS programs?

1140






what is factor analysis? : Sas-administrator

722


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

737


how to remove duplicates using proc sql?

736


Can you suggest us materials for sdtm mapping?

4144


What versions of SAS have you used (on which platforms)?

1128


What’s the difference between var b1 – b3 and var b1 — b3?

943


What is the difference between order and group variable in proc report?

970


What is the role of administrative users? : sas-grid-administration

750


Give some ways by which you can define the variables to produce the summary report (using proc report)?

702


How to convert a numeric variable to a character variable?

721