Câu 35: A00-212: SAS Advanced Programming for SAS 9
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?
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the ONE macro
- B. A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the TWO macro
- C. A macro variable DATE with the value 12SEP2008 is retrieved from the global symbol table — đáp án hiện tại
- D. A macro variable DATE with the value 31DEC2006 is retrieved from the global symbol table
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.