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

Did you used proc test? when?

1688


what is the difference between infile and input? : Sas-administrator

716


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

698


What are the parameters of scan function?

730


Do you know the features of sas?

694






what is function of retain statment

1677


Explain what is SAS informats?

722


What is the difference between match merge and one to one merge?

781


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

651


How do you delete duplicate observations in sas?

670


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2048


AE datasets names? how many types?

2151


Can you explain the process of calendar?

738


What is the sas data set? : sas-grid-administration

669


Explain proc univariate?

692