Exam : A00-211 SAS Base Programming for SAS (r) 9

1.22 %

Question # (3/246) Next   Previous

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?
A. 3
B. 5
C. 7
D. 8