A00-212 Exam QuestionsBrowse all questions from this exam

A00-212 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?

Show Answer
Correct Answer: BD

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

1 comment
Sign in to comment
mhminkovOption: B
Aug 20, 2021

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