SAS_Institute
A00-201 · Question #43
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 C. 12. 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
(53 responses)- A11% (6)
- B2% (1)
- C83% (44)
- D4% (2)
Community Discussion
No community discussion yet for this question.