54.Consider the following data step:
data WORK.TEST;
set SASHELP.CLASS(obs=5);
retain City 'Beverly Hills';
State='California';
run;
A. The RETAIN statement is fine, but the value of City will be truncated to 8
bytes as the LENGTH statement has been omitted.
B. Both the RETAIN and assignment statement are being used to initialize new
variables and are equally efficient. Method used is a matter of programmer preference.
C. The assignment statement is fine, but the value of City will be truncated
to 8 bytes as the LENGTH statement has been omitted.
D. City's value will be assigned one time, State's value 5 times.
Answer: D
对D表示不懂