how to assign a macro value to a variable?

Answer Posted / ganesh k

if it is a Char then Variable="&MacroVar.";
if it is a Numaric then Variable=%eval(&MacroVar.) or %
sysevalf(&MacroVar.);

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

671


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

947


what is data integration? : Sas-di

620


Differentiate input and infile.

599


How do you specify the number of iterations and specific condition within a single do loop?

628






What does the RUN statement do?

856


How many data types are there in SAS?

638


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

687


Explain input and put function?

649


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

3066


What are the applications primarily used by business analyst? : Sas-bi

557


What do you understand by the term Normal Distribution?

571


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

549


What is the use of PROC gplot?

642


Are you sensitive to code walk-throughs peer review or QC review?

2615