To identify any errors in the CALC set, CALCSETS must be specified on the AUDIT statement. There are four types of CALC set errors:
1. The CALC set is out of sequence
The sequence of the CALC set is determined by the same rules that govern any multi-member sorted set. This error is fully described in the earlier section on Sorted Sets.
2. A VIA or DIRECT record is connected into the CALC set
This error is fully described in the earlier section Pointer Errors. Next, prior, or owner db-key points to an invalid record type for the set.
3. A CALC record is disconnected from the CALC set
This error is fully described in the earlier section on Disconnected Record.
4. A CALC record is connected to the CALC set on an incorrect page
Every page of an area contains a system record (SR1) that is the owner of all CALC records whose keys randomize to that page. The CALC set is the only set for which CA IDMS/DB Audit can determine the accuracy of the set owner by invoking the IDMSCALC (or IDMSCLCX) routine for each CALC record. CA IDMS/DB Audit ensures that each CALC record is connected to the correct CALC set. (If a CALC record is not connected to the correct CALC set, it cannot be located by an OBTAIN CALC command.) In Figure 2.17, ART DEPARTMENT is an example of a CALC record connected to the CALC set on an incorrect page. CA IDMS/DB Audit corrects this so that ART DEPARTMENT is connected to the CALC set on page 88,004.

Figure 2.17: CALC Record Connected to an Incorrect CALC Set
|
Copyright © 2013 CA.
All rights reserved.
|
|