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 / chaitanya
If we need a value of a macro variable then we must define
it in such terms so that we can call them everywhere in the
program. Define it as Global. There are different ways of
assigning a global variable. Simplest method is %LET.
Ex: A, is macro variable. Use following statement to assign
the value of a rather than the variable itselfe.g.
%Let A=xyz x="&A";
This will assign "xyz" to x, not the variable xyz to x.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
In ARRAY processing, what does the DIM function do?
what is transformation in sas data integration? : Sas-di
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What does the trace option do?
What do you know about sas data set?
How do you define proc in sas? : sas-grid-administration
What is the difference between %put and symbolgen? : sas-macro
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
For clinical entire study how many tables will create approx?
What is PROC in SAS?
Intern stastical programmer written test
What Proc glm does?
what is the purpose of _error_? : Sas programming
List down the reasons for choosing sas over other data analytics tools.
What are the functions used for character handling?