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 is the maximum length of the macro variable?

680


what is metadata? : Sas-bi

602


What is the order of application for output data set options, input data set options and SAS statements?

1087


what is intially documentation in sas?

4335


Describe the function and untility of the most difficult SAS macro that you have written.

1566






Explain the purpose of retain statement.

607


What system options would you use to help debug a macro? : sas-macro

644


Describe the ways in which you can create macro variables? : sas-macro

580


what is information maps?

1618


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

555


how will you location sas platform applications available from web browser? : Sas-bi

550


what is change analysis in sas di ? : Sas-di

607


What are the parameters of scan function?

624


What are the features of SAS?

582


What is the use of the %include statement?

692