what is the need of INDEX in datasets?

Answer Posted / aravind9882

index is separate file attached to dataset.
create index on variable that is used in 'by processing'
or 'where processing'.
it will enhance the performance and fast retrieving the
observations when you use indexed variable in where
statement.
you need not to sort the variable if it is indexed when u
use it in "by statement".
create an index on variable when:
-u have to retrieve observations not more than 15% of d
dataset.
-create index on variable where 'by-variable' will have
more than 8 disctint values.

index is of two types:
simple index-created on single variable.
composite index-created on 2 or more variables.
index can b created using proc datasets, proc sql and
datastep.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is transformation in sas data integration? : Sas-di

758


What are the data types that sas contain?

894


What can you learn from the SAS log when debugging?

1109


What are the data types does SAS contain?

844


What is program data vector (pdv)?

840


For clinical entire study how many tables will create approx?

1713


What is the difference between %local and %global? : sas-macro

866


Difference between SAS STATA & SPSS?

872


What is the use of the %include statement?

894


Mention what is the difference between nodupkey and nodup options?

780


what are several options for creating reports in web report studio? : Sas-bi

846


Where do you use proc means over proc freq?

753


Explain data_null_?

800


what are informats in sas? : Sas-administrator

773


how to generate the test data in sas without input data? : Sas-administrator

809