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
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)- A17% (8)
- B4% (2)
- C70% (33)
- D9% (4)
Community Discussion
No community discussion yet for this question.
