SAS_Institute
A00-211 · Question #82
The following SAS DATA step is submitted: data work.accounting; set work.department; length jobcode $ 12; run; The WORK.DEPARTMENT SAS data set contains a character variable named JOBCODE with a…
The correct answer is A. 5. See the full explanation below for the reasoning.
Question
The following SAS DATA step is submitted:
data work.accounting; set work.department; length jobcode $ 12; run; The WORK.DEPARTMENT SAS data set contains a character variable named JOBCODE with a length of 5. Which one of the following is the length of the variable JOBCODE in the output data set?
Options
- A5
- B8
- C12
- DThe length can not be determined as the program fails to execute due to errors.
How the community answered
(47 responses)- A85% (40)
- B9% (4)
- C2% (1)
- D4% (2)
Community Discussion
No community discussion yet for this question.