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
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 |
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 |
is it possible to generate sas datasets using proc print ???
1 Answers GSK GlaxoSmithKline,
How to find out no. of business days in a month using macros.???(excluding weekends and holidays).
How do you convert basic cube to transaction cube and transaction cube to basic cube?
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
why is the use of Retrive statement and give me with example?
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
Does SAS ‘Translate’ (compile) or does it ‘Interpret’? Explain.
What are the main differences between sas versions 8.2, 9.0, 9.1?
how do u validate sas program
if i having variables named a b c d e f ,how to find total of each variable ????give syntax...??
what is pdv? how it is related to input buffer in sas?
what is the effect of the options statement errors=1? : Sas programming