You need to perform an analysis on a massive dataset by
groups, but are unable to sort the data due to memory
constraint. How would you accomplish the task?

Answer Posted / rock

Before grouping the dataset first compress the dataset
using compress=yes option whicle creation of dataset like

data x(compress=yes reuse=yes);
set y;
run;
proc sql;
select --- do the grouping now

Sure that sorting will take less time. Try this once
Main trick here is we are compressing the unused space in
dataset so the size of the dataset will get reduce.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between where and if statement?

621


Explain translate function?

634


Mention few capabilities of sas framework.

693


What is program data vector (pdv)?

635


What is the command used to find missing values?

593






what is sas data set?

669


What is the role of sas grid administrator? : sas-grid-administration

828


Which command is used to save logs in the external file?

570


What is the basic syntax of a sas program?

671


Explain by-group processing?

589


What can you learn from the SAS log when debugging?

921


why a stop statement is needed for the point= option on a set statement?

625


What is a method to debug and test your SAS program?

721


Describe crosslist option in tables statement?

713


What are types of transport files?

6864