how to assign a macro value to a variable?

Answer Posted / cool dude

Creating a Macro.

%Let a='City';

Assigning the macro value of a (which is 'City') to variable.

Data _null_;
b=&a;
put b= ;
run;

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is data integration and etl programming is same? : Sas-di

790


How can sas program be validated?

768


it will become easy if uuu provide website linkssss and list of consultanciessssss

1739


Tell e how how dealt with..

1979


what are the types of interactive display types? : Sas-bi

841


how does sas handle missing values in formats? : Sas programming

830


name several ways to achieve efficiency in your program? : Sas programming

764


Have you ever used the SAS Debugger?

1457


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3333


what is SAS OPTIMIZATION?

2031


Explain how you can debug and test your SAS program?

743


What is the good sas programming practices for processing large data sets?

862


what is data integration? : Sas-di

842


How to convert a numeric variable to a character variable?

863


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1423