SAS_Institute
A00-201 · Question #113
The following SAS program is submitted: data work.new; set sasuser.houses; length comment $ 50; comment = 'This is a sample comment for the houses data set.'; run; Which one of the following…
The correct answer is A. The comment variable will have a length of 50 in the WORK.NEW data set. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.new;
set sasuser.houses;
length comment $ 50;
comment = 'This is a sample comment for the houses data set.';
run;
Which one of the following statements about the WORK.NEW data set is true?
Options
- AThe comment variable will have a length of 50 in the WORK.NEW data set.
- BThe comment variable will have a length of 40 in the WORK.NEW data set.
- CThe comment variable will have a length of 200 in the WORK.NEW data set.
- DThe comment variable will have a length of 30 in the WORK.NEW data set.
How the community answered
(34 responses)- A71% (24)
- B6% (2)
- C9% (3)
- D15% (5)
Community Discussion
No community discussion yet for this question.