Note: For more information about the steps taken to process an &NDBSCAN statement, see the &NDBSCAN verb description in the Network Control Language Reference Guide.
A scan has the following processing steps:
If none of the criteria could be processed using keys, the entire database is scanned.
The final result list is built. Sorting is done during Step 3 or 4 as part of its processing.
These steps seem complex, but no knowledge of the internal processing is necessary to use &NDBSCAN. However, when performance is an issue, use of keyed fields becomes important.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |