how to assign a macro value to a variable?

Answer Posted / manna

data x;
%let a=01jan1960;
b=symget("a");
run;
IT IS Tested

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

595


How substr function works in sas?

705


Give some examples where proc report’s defaults are different than proc print’s defaults?

603


What is the use of function Proc summary?

657


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

1536






in the flow of data step processing, what is the first action in a typical data step? : Sas programming

655


what is the difference between unique key and primary key? : Sas-di

605


What does the RUN statement do?

856


Explain why double trailing @@ is used in input statement?

579


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1689


What is interleaving in SAS?

679


what is information maps?

1619


If you could design your ideal job, what would it look like?

2379


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


Mention common programming errors committed in sas ?

649