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
Topics:
SAS Adv Questions |
3 Comments »
A
A: the sorted indicator to the dataset
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