nerdexam
SAS_Institute

A00-211 · Question #210

The following SAS program is submitted: The program fails execution due to syntax errors. What is the cause of the syntax error?

The correct answer is B. An array cannot be referenced on a KEEP data set option. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

The program fails execution due to syntax errors. What is the cause of the syntax error?

Exhibit

A00-211 question #210 exhibit

Options

  • AThe variable MONTHSALES does not exist.
  • BAn array cannot be referenced on a KEEP data set option.
  • CThe KEEP= data set option should be (KEEP = MONTHSALES).
  • DThe KEEP= data set option should be the statement KEEP MONTHSALES{12}.

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    71% (30)
  • C
    17% (7)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice