SAS_Institute
A00-211 · Question #130
The following SAS program is submitted: data work.accounting; set work.dept1 work.dept2; jobcode = `FA1'; length jobcode $ 8; run; A character variable named JOBCODE is contained in both the…
The correct answer is B. 5. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.accounting; set work.dept1 work.dept2; jobcode = `FA1'; length jobcode $ 8; run; A character variable named JOBCODE is contained in both the WORK.DEPT1 and WORK.DEPT2 SAS data sets. The variable JOBCODE has a length of 5 in the WORK.DEPT1 data set and a length of 7 in the WORK.DEPT2 data set. What is the length of the variable JOBCODE in the output data set?
Options
- A3
- B5
- C7
- D8
How the community answered
(20 responses)- A15% (3)
- B75% (15)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.