nerdexam
SAS_Institute

A00-212 · Question #118

A00-212 Question #118: Real Exam Question with Answer & Explanation

Sign in or unlock A00-212 to reveal the answer and full explanation for question #118. 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

  • A1900
  • B1920
  • C1950
  • D2000

Unlock A00-212 to see the answer

You've previewed enough free A00-212 questions. Unlock A00-212 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.

Full A00-212 Practice