SAS_Institute
A00-211 · Question #128
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking Price" with the label…
The correct answer is C. proc print data = sasuser.houses label; label price = "Sale Price"; run. See the full explanation below for the reasoning.
Question
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?
Options
- Aproc print data = sasuser.houses; label price = "Sale Price"; run;
- Bproc print data = sasuser.houses label; label price "Sale Price"; run;
- Cproc print data = sasuser.houses label; label price = "Sale Price"; run;
- Dproc print data = sasuser.houses; price = "Sale Price"; run;
How the community answered
(26 responses)- A4% (1)
- B4% (1)
- C81% (21)
- D12% (3)
Community Discussion
No community discussion yet for this question.