how can you sort the dataset having millions of OBS(instead
of sort procedure?

Answer Posted / chandrakanth

proc sql;
create table dataset-name as select * from source-dataset-name group by sorting-variable-name;
quit;

GROUP BY option is for sorting the data.

Please let me know if you have more questions

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the prime responsibilities of data integration administrator? : Sas-di

796


List down the reasons for choosing sas over other data analytics tools.

1036


Explain the difference between using drop = data set option in set and data statement?

913


How do dates work in SAS data?

899


Explain the purpose of substr functions in sas programming.

785


How to limit decimal places for the variable using proc means?

805


What does the RUN statement do?

1062


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

2105


Explain the difference between nodup and nodupkey options?

789


what are several options for creating reports in web report studio? : Sas-bi

839


what does the run statement do? : Sas programming

771


how can you put a "trace" in your program? : Sas programming

797


what is the Population you used in your project, is it ITT or PP?

2447


Describe a time when you were really stuck on a problem and how you solved it?

2303


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2582