By admin | September 16, 2009

SAS Certified Base Programmer 123 Questions (51)

The following SAS program is submitted:

libnamecompany 'SAS-data-library';
proc sort data = company.payroll;
    by EmployeeIDNumber;
run;

Write access has been granted to the COMPANY library.
Which one of the following represents how the observations are sorted?

A. COMPANY.PAYROLL is recreated in sorted order by EmployeeIDNumber.
B. COMPANY.PAYROLL is stored in original order, and a new data set PAYROLL is created in sorted order by EmployeeIDNumber.
C. COMPANY.PAYROLL is stored in original order, and a new data set COMPANY.PAYROLLSORTED is created in sorted order by EmployeeIDNumber.
D. COMPANY.PAYROLL is recreated in sorted order by EmployeeIDNumber, and a new data set PAYROLL is created in sorted order by EmployeeIDNumber.

One comment | Add One

  1. admin - 09/16/2009 at 12:25 pm

    A

Leave a Comment

Leave a Reply

Your email address will not be published.