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 command used to find missing values?

576


Have you used macros? For what purpose you have used? : sas-macro

543


Mention the validation tools used in SAS?

639


What are the data types in sas?

592


how to remove duplicates using proc sql?

618






what is sas data set?

649


What will calendar procedure do?

578


How would you determine the number of missing or nonmissing values in computations?

633


In sas admin differentiate between roles and capabilities? : sas-grid-administration

542


Which command is used to perform sorting in sas program?

581


How do dates work in SAS data?

668


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

620


how many types of prompts are there? : Sas-bi

537


Enlist the syntax rules followed in sas statements.

598


what are _numeric_ and _character_ and what do they do? : Sas programming

665