Exam A00-212 All QuestionsBrowse all questions from this exam
Question 24

The SAS set WORK CHECK has an index on the variable Code and the following SAS program is submitted.

proc sort data=WORK.CHECK;

by Code;

run;

What describes the result of submitting SAS program?

    Correct Answer: D

    When a SAS dataset with an index on a variable is sorted by that indexed variable, the index remains unaffected. The sort operation sorts the dataset but does not alter or delete the existing index. This means the index on the variable Code will be unaffected by the sort operation.

Discussion
mhminkovOption: B

ERROR: Indexed data set cannot be sorted in place unless the FORCE option is used.