The following SAS program is submitted:
%macro one (input);
%two;
%put the value is &date;
%mend;
%macro two;
data _null_;
call symput('date','12SEP2008');
run;
%mend;
%let date=31DEC2006;
%one(&date)
What is the result when the %PUT statement executes?
- A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the ONE macro
- A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the TWO macro
- A macro variable DATE with the value 12SEP2008 is retrieved from the global symbol table
- A macro variable DATE with the value 31DEC2006 is retrieved from the global symbol table
Reveal Solution Next Question