SAS_Institute
A00-202 · Question #65
Given the following SAS data set named WORK.INTERNAT: WORK.INTERNAT LOCATION SUM ----------------- ------------ USA 30 EUR 40 The following SAS program is submitted: %let LOC = Usa; proc sql; select…
The correct answer is A. No report is generated as the case of the compared values is different. See the full explanation below for the reasoning.
Question
Given the following SAS data set named WORK.INTERNAT:
WORK.INTERNAT LOCATION SUM ----------------- ------------ USA 30 EUR 40 The following SAS program is submitted:
%let LOC = Usa; proc sql; select * from internat where location = "&Loc"; quit; Which one of the following is the result when the above code is executed on the above data set?
Options
- ANo report is generated as the case of the compared values is different.
- BA report is generated with one destination.
- CNo report is generated as the case of the macro variable name is different.
- DA report is generated with the two original observations as the where clause does not work.
How the community answered
(37 responses)- A76% (28)
- B3% (1)
- C14% (5)
- D8% (3)
Community Discussion
No community discussion yet for this question.