SAS_Institute
A00-202 · Question #52
The variable attributes of SAS data sets ONE and TWO are shown below: ONE TWO # Variable Type Len Pos # Variable Type Len Pos 2 sales Num 8 8 2 budget Num 8 8 1 year Num 8 0 3 sales Char 8 16 1 year…
The correct answer is A. ERROR and WARNING messages are written to the SAS log. See the full explanation below for the reasoning.
Question
The variable attributes of SAS data sets ONE and TWO are shown below:
ONE TWO # Variable Type Len Pos # Variable Type Len Pos 2 sales Num 8 8 2 budget Num 8 8 1 year Num 8 0 3 sales Char 8 16 1 year Num 8 0 Data set ONE contains 100 observations. Data set TWO contains 50 observations. Both data sets are sorted by the variable YEAR. SAS A00-202 Exam The following SAS program is submitted:
data three; merge one two; by year; run; Which one of the following is the result of the program execution?
Options
- AERROR and WARNING messages are written to the SAS log.
- BNo messages are written to the SAS log.
- CData set THREE is created with two variables and 50 observations.
- DData set THREE is created with three variables and 100 observations.
How the community answered
(52 responses)- A85% (44)
- B2% (1)
- C4% (2)
- D10% (5)
Community Discussion
No community discussion yet for this question.