When creating and using view descriptors, follow these guidelines to minimize ADABAS processing and your operating system resources and to reduce the time ADABAS takes to access data.
When ADABAS cannot use an inverted list, it sequentially scans the entire file. You cannot guarantee that ADABAS will use an inverted list to process a condition on a descriptor data field, but you can write selection criteria that allow ADABAS to use available inverted lists effectively.
As an alternative to using a BY statement, which consumes CPU time each time you access the ADABAS file, you could use the SORT procedure with the OUT= option to create a sorted SAS data file. In this case, the SAS System, not ADABAS, does the sorting. This is a better approach for data that you want to use many times.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.