SAS_Institute
A00-211 · Question #3
The following SAS program is submitted: data work.accounting; set work.department; length jobcode $ 12; jobcode='FAl'; run; The WORK.DEPARTMENT data set contains a character variable named JOBCODE…
The correct answer is B. The length of the variable JOBCODE is 5. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.accounting; set work.department; length jobcode $ 12; jobcode='FAl'; run; The WORK.DEPARTMENT data set contains a character variable named JOBCODE with a length of 5. What is the result?
Options
- AThe length of the variable JOBCODE is 3.
- BThe length of the variable JOBCODE is 5.
- CThe length of the variable JOSBODE is 12.
- DThe program fails to execute due to errors.
How the community answered
(29 responses)- A3% (1)
- B79% (23)
- C10% (3)
- D7% (2)
Community Discussion
No community discussion yet for this question.