By admin | August 25, 2009

SAS Certified Base Programmer 123 Questions (1)

In the following SAS program, the input data files are sorted by the NAMES variable:

libnametemp 'SAS-data-library';
data temp.sales;
    merge temp.sales
          work.receipt;
    by names;
run;

Which one of the following results occurs when this program is submitted?

A. The program executes successfully and a temporary SAS data set is created.
B. The program executes successfully and a permanent SAS data set is created.
C. The program fails execution because the same SAS data set is referenced for both read and write operations.
D. The program fails execution because the SAS data sets on the MERGE statement are in two different libraries.

One comment | Add One

  1. admin - 08/25/2009 at 10:03 am

    B

Leave a Comment

Leave a Reply

Your email address will not be published.