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 2 Question 56 Discussion

Which PROC PRINT statement controls the order of the variables displayed in the report?
C) VAR
A) KEEP
B) DROP
D) SELECT

SAS A00-215 Exam - Topic 2 Question 56 Discussion

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

Which PROC PRINT statement controls the order of the variables displayed in the report?

Show Suggested Answer Hide Answer
Suggested Answer: C

In PROC PRINT, the VAR statement is used to control the order of the variables displayed in the report. You can list the variables in the order you want them to appear. The KEEP statement can control which variables appear, but not their order. DROP and SELECT are not valid statements within PROC PRINT for controlling the order of variables.

Reference

SAS documentation for PROC PRINT.


Contribute your Thoughts:

0/2000 characters
Winfred
1 month ago
I thought it was A) KEEP.
upvoted 0 times
...
Adolph
1 month ago
It's C) VAR for sure!
upvoted 0 times
...
Reita
2 months ago
I thought SELECT was used for ordering in other contexts, but I can't recall if it applies to PROC PRINT specifically.
upvoted 0 times
...
Janna
2 months ago
I’m leaning towards the VAR statement too, but I might be mixing it up with similar questions we did in class.
upvoted 0 times
...
Ceola
2 months ago
I remember practicing with PROC PRINT, and I feel like KEEP and DROP are more about excluding variables rather than ordering them.
upvoted 0 times
...
King
3 months ago
I think the PROC PRINT statement that controls the order of variables is the VAR option, but I'm not entirely sure.
upvoted 0 times
...

Save Cancel