Question 17 :
The following SAS program is submitted:
libname sasdata 'SAS-data-library';
libname labdata 'SAS-data-library';
data labdata.boston
labdata.dallas(drop=city dest equipment);
set sasdata.cities(keep=orig dest city
price equipment);
if dest='BOS' then output labdata.boston;
else if dest='DFW' then output labdata.dallas;
run;
Which variables are output to both data sets?
- price and orig only
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer :1
Exp : In the program above, the KEEP= option specifies that 5 variables (orig, dest, city, price, and equipment) are read from the input data set.
You can access to full explanation to question and answer from this page.