nerdexam
SAS_Institute

A00-212 · Question #112

Assume today is Tuesday, July 23, 2002. Which one of the following statements submitted at the beginning of a SAS session assigns the value Tuesday, July 23, 2002 to the macro variable START?

The correct answer is C. %let start = %sysfunc(today(),weekdate.). See the full explanation below for the reasoning.

Question

Assume today is Tuesday, July 23, 2002. Which one of the following statements submitted at the beginning of a SAS session assigns the value Tuesday, July 23, 2002 to the macro variable START?

Options

  • A%let start = today(),weekdate.;
  • B%let start = today(),format=weekdate.;
  • C%let start = %sysfunc(today(),weekdate.);
  • D%let start = %sysfunc(%today(),weekdate.);

How the community answered

(32 responses)
  • A
    13% (4)
  • B
    9% (3)
  • C
    75% (24)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice