nerdexam
SAS_Institute

A00-281 · Question #56

The following SAS program is submitted, but fails due to syntax errors. What is the cause of the syntax errors?

The correct answer is C. 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, but fails due to syntax errors. What is the cause of the syntax errors?

Exhibit

A00-281 question #56 exhibit

Options

  • AThe keep= data set option should be (keep=MonthExp*).
  • BAn array can only be referenced in a KEEP statement and not within a keep= data set option.
  • CAn array cannot be referenced on a keep= data set option.
  • DThe keep= data set option should be (keep=MonthExp).

How the community answered

(47 responses)
  • A
    17% (8)
  • B
    4% (2)
  • C
    70% (33)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full A00-281 Practice