SAS_Institute
A00-202 · Question #25
The following SAS program is submitted: data two; y = '2'; run; %let x = 10; %let var = y; data one; set two (keep = &var); z = &var * &x; run; Which one of the following is the value of the…
The correct answer is A. 20 (as a numeric). See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data two; y = '2'; run; %let x = 10; %let var = y; data one; set two (keep = &var); z = &var * &x; run; Which one of the following is the value of the variable Z when the program finishes execution?
Options
- A20 (as a numeric)
- B. (missing numeric)
- C20 (as a character)
- DERROR
How the community answered
(25 responses)- A84% (21)
- B8% (2)
- C4% (1)
- D4% (1)
Community Discussion
No community discussion yet for this question.