Item 59 of 63 Mark item for review
The SAS data set WORK.TEST has an index
on the variable Id and the following SAS
program is submitted.
data WORK.TEST;
set WORK.TEST(
keep=Id Var_1 Var_2
rename=(Id=Id_Code));
Total=sum(Var_1, Var_2);
run;
Which describes the result of
submitting the SAS program?
A.
The index on Id is deleted.
B.
The index on Id is updated as an index onId_Code.
C.
The index on Id is deleted and an index onId_Code is created.
D.
The index on Id is recreated as an index onId_Code.
答案是a,但是这个sas的网页上面说的是index is renamed,谁来帮我解释一下呀,谢谢
Maintenance Tasks and Index Results
Task
Result
delete a data set
index file is deleted
rename a data set
index file is renamed
rename key variable
simple index is renamed
delete key variable
simple index is deleted
add observation
index entries are added
delete observations
index entries are deleted and space is recovered for reuse
update observations
index entries are deleted and new ones are inserted
http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000440261.htm