SAS Certified Base Programmer 123 Questions (88)
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of “Asking Price”. Which one of the following SAS programs temporarily replaces the label “Asking Price” with the label “Sale Price” in the output?
A.
proc print data = sasuser.houses; label price = "sale Price"; run;
B.
proc print data = sasuser.houses label; label price "Sale Price"; run;
C.
proc print data = sasuser.houses label; label price = "Sale Price"; run;
D.
proc print data = sasuser.houses label = "Sale Price"; run;
Topics:
SAS Base Questions |
3 Comments »
C
The answer should be:
proc print data = sasuser.houses label;
label price = “Sale Price”;
run;
In this example, B and C are exactly the same.
Thank you very much! I modified the C just now.