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

2.44 %

Question # (6/246) Next   Previous

Given the raw data record DEPT:
----|----10---|----20---|----30
Printing 750
The following SAS program is submitted:
data bonus;
infile `dept';
inputdept$ 1-11 number 13- 15;
<insert statement here>
run;
Which SAS statement completes the program and results in a value of `Printing750' for the DEPARTMENT
variable?
A. department = dept II number;
B. department = left(dept) II number;
C. department = trim(dept) number;
D. department=trim(dept)||put(number,3.);