SAS Certified Adv Programmer 50 Questions (16)
Given the following SAS data set Mylib.Mydata:
Mylib.Mydata
Name | Animal | Age |
Max | Cat | 9 |
Brown | Dog | 22 |
Large | Pig | 1 |
The following SAS program is submitted:
data _null_; set mylib.mydata; call symput('animal' || left(_n_), name); run; %let i=2; title "The value is &&animal&i";
Which one of the following does the TITLE statement resolve to?
a. The value is Dog
b. The value is animal2
c. The value is Brown
d. The value is &animal2
Topics:
SAS Adv Questions |
2 Comments »
C
C: indirect call at second position = brown