nerdexam
SAS_Institute

A00-211 · Question #174

The following SAS program is submitted: data WORK.DATE_INFO; X="01Jan1960" D; run; What variable X contains what value?

The correct answer is D. the code contains a syntax error and does not execute. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data WORK.DATE_INFO; X="01Jan1960" D; run; What variable X contains what value?

Options

  • Athe numeric value 0
  • Bthe character value "01Jan1960"
  • Cthe date value 01011960
  • Dthe code contains a syntax error and does not execute.

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    8% (2)
  • D
    76% (19)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice