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
If money were no object, what would you like to do?
what is sas and what are the functions? : Sas-administrator
what is the primary data source for the wrs? : Sas-bi
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
What is the basic structure of a sas program?
What is the role of unrestrictive users? : sas-grid-administration
How do you debug and test your SAS programs?
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
Of all your work, where have you been the most successful?
what are the categories that sas informats are used to the place the data? : Sas-administrator
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
What does the RUN statement do?
what is change analysis in sas di ? : Sas-di
what do the pad and dim functions do? : Sas programming