Which PROC PRINT statement controls the order of the variables displayed in the report?
Suggested Answer: C
Get Premium A00-215 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
12 comments · newest first
ST
Stevie
3 months ago
I’m not so sure. A) KEEP might work, but I lean towards C) VAR.
AL
Alba
3 months ago
I agree, C) VAR is the right choice. It controls the order too.
EU
Eun
4 months ago
I think the answer is C) VAR. It specifies which variables to display.
RO
Rosalia
4 months ago
I disagree, I think it's A) KEEP.
AR
Arminda
4 months ago
Definitely C) VAR, no doubt about it!
GE
Genevieve
4 months ago
Wait, is it really C)? That seems too simple.
WI
Winfred
6 months ago
I thought it was A) KEEP.
AD
Adolph
6 months ago
It's C) VAR for sure!
RE
Reita
6 months ago
I thought SELECT was used for ordering in other contexts, but I can't recall if it applies to PROC PRINT specifically.
JA
Janna
7 months ago
I’m leaning towards the VAR statement too, but I might be mixing it up with similar questions we did in class.
CE
Ceola
7 months ago
I remember practicing with PROC PRINT, and I feel like KEEP and DROP are more about excluding variables rather than ordering them.
KI
King
7 months ago
I think the PROC PRINT statement that controls the order of variables is the VAR option, but I'm not entirely sure.