By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (43)

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?

a. price and orig only
b. city and equipment only
c. city, price, and equipment only
d. city, price, orig, and equipment

One comment | Add One

  1. admin - 08/10/2009 at 10:02 am

    A

Leave a Comment

Leave a Reply

Your email address will not be published.