nerdexam
SAS_Institute

A00-212 · Question #48

Given the data set SASHELP.CLASS: SASHELP.CLASS NAME AGE ------- ------ Mary 15 Philip 16 Robert 12 Ronald 15 The following SAS program is submitted: %let value = Philip; proc print data =…

The correct answer is D. Where upcase(name)="%upcase(&value)". See the full explanation below for the reasoning.

Question

Given the data set SASHELP.CLASS:

SASHELP.CLASS NAME AGE ------- ------ Mary 15 Philip 16 Robert 12 Ronald 15 The following SAS program is submitted:

%let value = Philip; proc print data = sashelp.class; <insert WHERE statement here> run; Which WHERE statement successfully completes the program and procedures a report?

Options

  • AWhere upcase(name)=%upcase(&value);
  • BWhere upcase(name)="upcase(&value)";
  • CWhere upcase(name)=upcase(&value);
  • DWhere upcase(name)="%upcase(&value)";

How the community answered

(31 responses)
  • A
    13% (4)
  • B
    3% (1)
  • C
    6% (2)
  • D
    77% (24)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice