There are two types of disconnected records:
1. A fully disconnected record
A fully disconnected record is one that is not connected to any set occurrence. All of the disconnected record's db-key values pointing to the specified set are HIGH-VALUES. CA IDMS/DB Audit finds disconnected records when the AUDIT statement indicates DISCONNECT=EXPLICIT (plus the DISCONNECT option in RECORD or SET statements), or DISCONNECT=ALL.
Mandatory-automatic sets are searched for disconnections when you specify the ALL or the EXPLICIT option. Because CA IDMS automatically connects mandatory-automatic sets at store time, and allows disconnect only at ERASE, a record belonging to a mandatory automatic set should never appear disconnected. In Figure 2.8, David Herman is an example of a fully disconnected record because it is not connected to any set.

Figure 2.8: Record Fully Disconnected from Set
2. A partially disconnected record
A partially disconnected record is a record that points into a set, but no record in the set points to it. Figure 2.9 presents a partially disconnected record.
Partially disconnected records are also referred to as orphan records. Orphans are described in greater detail later in this chapter.

Figure 2.9: Record Partially Disconnected from Set
|
Copyright © 2013 CA.
All rights reserved.
|
|