nerdexam
SAS_Institute

A00-202 · Question #15

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 B. %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(),format=weekdate.;
  • B%let start = %sysfunc(today(),weekdate.);
  • C%let start = today(),weekdate.;
  • D%let start = %sysfunc(%today(),weekdate.);

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    83% (24)
  • C
    10% (3)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full A00-202 Practice