SAS_Institute
A00-202 · Question #49
A00-202 Question #49: Real Exam Question with Answer & Explanation
Sign in or unlock A00-202 to reveal the answer and full explanation for question #49. The question stem and answer options stay visible for context.
Question
The following SAS program is submitted: options yearcutoff = 1950; %macro y2kopt(date); %if &date >= 14610 %then %do; options yearcutoff = 2000; %end; %else %do; options yearcutoff = 1900; %end; %mend; data null ; date = "01jan2000"d; call symput("date",left(date)); run; %y2kopt(&date) The SAS date for January 1, 2000 is 14610 and the SAS system option for YEARCUTOFF is set to 1920 prior to submitting the above program. Which one of the following is the value of YEARCUTOFF when the macro finishes execution?
Options
- A2000
- B1950
- C1920
- D1900
Unlock A00-202 to see the answer
You've previewed enough free A00-202 questions. Unlock A00-202 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.