what is the need of INDEX in datasets?

Answer Posted / hari

This is mainly useful for the fast retrival of data (For ex
we have 559 in 1 lac obs then by index we can get the data
with out reading all the observations

Index are 2 type:

1.simple
2.Composite


ex-for simple


proc datasets lib=college;
modify time;
index create class;
run;


ex-for composite:


proc datasets library=college;
modify time;
index create names(=(name school);
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you include common or reuse to be processed along with your statements?

1899


which date functions advances a date time or date/time value by a given interval? : Sas programming

536


I have a dataset concat having variable a b & c. How to rename a b to e & f?

580


what is the effect of the options statement errors=1? : Sas programming

593


What is maximum storage capability of SAS?

905






what is the purpose of _error_? : Sas programming

611


Tell e how how dealt with..

1757


List out some key concept of SAS

619


What is the differnce between SDTM 3.1.2 to 3.1.1 version

4609


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1612


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1661


What does P-value signify about the statistical data?

853


How substr function works in sas?

700


How do you control the number of observations and/or variables read or written?

747


For clinical entire study how many tables will create approx?

1520