By admin | August 21, 2009

SAS Certified Adv Programmer 50 Questions (43)

The SAS data set Temp contains 1,000 observations and 10 variables. Which one of the following SAS DATA steps writes the variables a, b, and c to both SAS data sets One and Two?

a.

data one two(keep=a b c);
    set temp(keep=a b c d);
run;

b.

data one two;
    set temp(keep=a b c);
run;

c.

data one(keep=a b c) two;
    set temp(keep=a b c d);
run;

d.

data one(keep=a b c) two(keep=a c);
    set temp(keep=a b c);
run;

One comment | Add One

  1. admin - 08/21/2009 at 1:13 pm

    B

Leave a Comment

Leave a Reply

Your email address will not be published.