SAS Certified Base Programmer 50 Questions (14)
Which one of the following SAS programs creates a variable named City with a value of Chicago?
a.
data work.airports;
AirportCode='ord';
if AirportCode='ORD' City='Chicago';
run;
b.
data work.airports;
AirportCode='ORD';
if AirportCode='ORD' City='Chicago';
run;
c.
data work.airports;
AirportCode='ORD';
if AirportCode='ORD' then City='Chicago';
run;
d.
data work.airports;
AirportCode='ORD';
if AirportCode='ORD';
then City='Chicago';
run;
Topics:
SAS Base Questions |
1 Comment »
C