By admin | August 24, 2009

SAS Certified Adv Programmer 50 Questions (48)

The following SAS program is submitted:

data new(sortedby=date);
    infile rawdata;
    input date mmddyy10. employeeID $ salary;
run;

Which one of the following is the purpose of the SORTEDBY= data set option?

a. to specify how the data set is currently sorted
b. to sort the data values in Date order in the SAS data set New
c. to issue a call to the SORT procedure after the DATA step completes
d. to sort the data in Rawdata by Date before reading the external file

3 comments | Add One

  1. admin - 08/24/2009 at 10:52 am

    A

  2. Consty - 02/13/2013 at 11:41 am

    A: the sorted indicator to the dataset

  3. chinawokee - 07/10/2014 at 7:16 pm

    it doesn’t sort a data set
    it sets the value of the sorted flag
    it doesn’t set the value of the validated sort flag

Leave a Comment

Leave a Reply

Your email address will not be published.