Previous Topic: Unique Access Strategies for Entry, Path, and Auxiliary Records[Next Topic: Unique Access Method for Path Records


Unique Access Methods for Entry Records

For entry records, the method used to locate unique record occurrences is determined by which fields were selected as unique keys for that record type. An entry record can be either a CALC type record, a member of a (preferably mandatory/automatic) system-owned index, or both.

When the entry record access mode is CALC and is not a member of a system-owned index:

When the entry record is a member of a system-owned index:

When the record type is accessed using an area sweep or by walking an index, the values passed to the table procedure are compared to the values in the current record occurrence. The area sweep or index walk continues until the values match.

The rules defined on the previous page anchor the query to a single occurrence of the entry record.