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?

Answers were Sorted based on User's Feedback



You need to perform an analysis on a massive dataset by groups, but are unable to sort the data du..

Answer / satheesh

you can use index statement,

proc sql;
create index indexname on Tablename(Variable or Columnname);
quit;

the above code is equivalent to sort.

Is This Answer Correct ?    5 Yes 0 No

You need to perform an analysis on a massive dataset by groups, but are unable to sort the data du..

Answer / 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

More SAS Interview Questions

Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


Difference b/n proc means and proc summary procedures?

3 Answers   Accenture,


what is SAS/Access and SAS/Connect?what are the uses?

3 Answers  


What is the good sas programming practices for processing large data sets?

0 Answers  


What are the limitations for memory allocation for SAS variables

0 Answers   Signetsoft,






how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

0 Answers  


What are TEAEs

2 Answers   Accenture, Quintiles,


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

0 Answers  


Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT SAS Training in Data Management at InfoSchool Bangalore

1 Answers  


Which is the best training institute for SAS in Delhi. Please reply

12 Answers   HCL, HSBC,


tell me about intnx, intcx functions?

4 Answers   CitiGroup,


Name statements that are execution only.

14 Answers   Accenture,


Categories