ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Data-Warehouse >> SAS
 
 


 

 
 Teradata interview questions  Teradata Interview Questions
 Business Objects interview questions  Business Objects Interview Questions
 Cognos interview questions  Cognos Interview Questions
 Informatica interview questions  Informatica Interview Questions
 Crystal Enterprise Suite interview questions  Crystal Enterprise Suite Interview Questions
 Actuate interview questions  Actuate Interview Questions
 Ab Initio interview questions  Ab Initio Interview Questions
 Data Stage interview questions  Data Stage Interview Questions
 SAS interview questions  SAS Interview Questions
Question
what is the need of INDEX in datasets?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the need of INDEX in datasets?
Answer
# 1
Generally SAS reads The obseravtions in sequentiall manner.
it takes a lot of time .to aviod this we are using index.
ithis index concept usefull when we dealing with large 
datsets.
 
0
Guest
 
  Re: what is the need of INDEX in datasets?
Answer
# 2
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;
 
0
Hari
 
 
 
  Re: what is the need of INDEX in datasets?
Answer
# 3
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.
 
0
Aravind9882
 
 
 
 
Other SAS Interview Questions
 
  Question Asked @ Answers
 
What do you feel about hardcoding? Oracle4
What SAS statements would you code to read an external raw data file to a DATA step?  7
define table lookup and how may ways it can be done...explian  1
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?  4
what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter? Accenture2
tell me about intnx, intcx functions? CitiGroup1
How do you add a number to a macro variable?  2
what is the difference between the SAS v8 and SAS v9? TCS5
sas macros  5
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn?t have a value?  3
How experienced are you with customized reporting and use of Data _Null_ features? Oracle3
How would you code a merge that will keep only the observations that have matches from both sets?  4
sas implimented companies in hyderabad CTS4
How do you read in the variables that you need?  5
How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?  1
Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?  1
DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT. Verinon-Technology-Solutions5
Identify statements whose placement in the DATA step is critical?  7
Why is a STOP statement needed for the point=option on a SET statement?  2
Under what circumstances would you code a SELECT construct instead of IF statements?  2
 
For more SAS Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com