Previous Topic: Report of Allocated StorageNext Topic: STOPAFTER Option


WALKNEXT Option

,WALKNEXT

WALKNEXT searches for orphan records within sets that are defined for USERSET or CALCSET processing. WALKNEXT examines each record encountered in an area sweep and walks all eligible sets of which the record is a member. If the owner does not point at the record, and none of the members point at the record, it is reported as an orphan of the set. That is, walking the set does not lead to an owner and back to the record.

The WALKNEXT parameter is usually used in a second run after a full-area audit that indicates orphan records. To determine the presence of orphan records, refer to the Audit Report, Audit Statistics. Compare the number reported for MBR RECORD OCCURRENCES plus SET DISCONNECTIONS for each set to the number reported for AREA SWEEP OCCURRENCES plus LOGICAL DELETIONS for each record that is a member of the set. Any difference between these numbers represents a possible orphan record. (If DISCONNECT was specified, the difference proves the presence of orphans for the set.)

Walknext processing causes an extraordinarily high number of I/Os because every set occurrence is walked as many times as there are member records plus once more for the owner. This type of processing increases operating time significantly.

QuickCheck: Do not specify WALKNEXT with QuickCheck. For QuickCheck processing, CA IDMS/DB Audit searches for orphans through the USERSETS option and uses significantly less processing time.