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
Stevie
2 months ago
I’m not so sure. A) KEEP might work, but I lean towards C) VAR.
upvoted 0 times
...
Alba
2 months ago
I agree, C) VAR is the right choice. It controls the order too.
upvoted 0 times
...
Eun
2 months ago
I think the answer is C) VAR. It specifies which variables to display.
upvoted 0 times
...
Rosalia
2 months ago
I disagree, I think it's A) KEEP.
upvoted 0 times
...
Arminda
2 months ago
Definitely C) VAR, no doubt about it!
upvoted 0 times
...
Genevieve
3 months ago
Wait, is it really C)? That seems too simple.
upvoted 0 times
...
Winfred
4 months ago
I thought it was A) KEEP.
upvoted 0 times
...
Adolph
4 months ago
It's C) VAR for sure!
upvoted 0 times
...
Reita
5 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
5 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
5 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
6 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