Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAS A00-215 Exam - Topic 12 Question 58 Discussion

Which PROC SORT option allows you to create an output data set of the sorted data?
D) OUT=
A) Data=
B) SORTOUT=
C) OUTPUT=

SAS A00-215 Exam - Topic 12 Question 58 Discussion

Actual exam question for SAS's A00-215 exam
Question #: 58
Topic #: 12
[All A00-215 Questions]

Which PROC SORT option allows you to create an output data set of the sorted data?

Show Suggested Answer Hide Answer
Suggested Answer: D

In SAS, the PROC SORT procedure is used to sort data. To save the sorted data into a new dataset, the OUT= option is used in the PROC SORT statement. This option allows you to specify the name of the output dataset that will contain the sorted data.

Here is how it's used:

proc sort data=original out=sorted; by variable; run; will sort the dataset original by variable and create a new dataset named sorted containing the sorted data.

Option A, Data=, is not valid for the PROC SORT procedure. Option B, SORTOUT=, is a common misconception but is not correct; OUT= is the right option. Option C, OUTPUT=, is not used within PROC SORT; it is used in other procedures such as PROC TABULATE and PROC SUMMARY for output datasets.


SAS 9.4 documentation for the PROC SORT statement: SAS Help Center: PROC SORT

Contribute your Thoughts:

0/2000 characters
Fernanda
1 month ago
I feel like I’ve seen OUTPUT= in other contexts, but I don’t think it’s the right choice for this question.
upvoted 0 times
...
Javier
1 month ago
I remember something about SORTOUT= being used in PROC SORT, but I can't recall if it actually creates an output data set.
upvoted 0 times
...
Barney
1 month ago
I think the option we're looking for is OUT=, but I’m not entirely sure. It sounds familiar from the practice questions.
upvoted 0 times
...

Save Cancel