ElearnSAS.com

ElearnSAS.com
SAS Learning Platform

Base SAS 69

The following SAS program is submitted:
libname company '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.
Click Comment link to get answer

13 comments:

  1. Anonymous2:19 PM

    IF we do not create a new data set then it stores on original data in sorted form. It was the easiest question.

    ReplyDelete
  2. Anonymous7:13 PM

    Yeah, wish all exam questions are like this and no need to study hard.

    ReplyDelete
  3. Anonymous4:58 AM

    no OUT so no new data. but the COMPANY.PAYROLL is sorted order by EmployeeIDNumber.

    the answer is A

    ReplyDelete
  4. The information which you have provided is really nice and awesome. Provides some very useful insights of how things actually work. I want to share something more about this as well.
    software development company

    ReplyDelete
  5. Thank you so much for sharing this worth while to spent time on. You are running a really awesome blog. Keep up this good work

    Payroll Company in Johannesburg

    ReplyDelete
  6. Nice blog. Am doing a SAS certification course in one of the leading SAS training institutes in Hyderabad. I have been searching for SAS interview questions and answers.
    This blog is very useful and informative. Thanks for sharing.
    SAS Certification

    ReplyDelete