nerdexam
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)
  • A
    4% (1)
  • B
    4% (1)
  • C
    81% (21)
  • D
    12% (3)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice