CDD/Plus CDO PURGE — VMS CDD+_4.1A
Deletes old versions of the specified objects from CDO dictionaries. PURGE ─┬>
A
L
L ───────────────────┬──┬─┬──────────────>─────────────┬─┬─┐ ├>
F
I
E
L
D ─────────────────┤ │ ├─> typebox (/)
K
E
E
P ──┬──────>──────┬──┤ │ │ ├>
G
E
N
E
R
I
C protocol-name ─┤ │ │ └─> typebox (=)number ──┘ │ │ │ └>
R
E
C
O
R
D ────────────────┘ │ ├─> typebox (/)
D
E
S
C
E
N
D
A
N
T
S ────────────┤ │ │ │ └─> typebox (/)
N
O
D
E
S
C
E
N
D
A
N
T
S ──────────┘ │ │ └────────────────────────────────┘ │ ┌─────────────────────────────<────────────────────────────────────┘ └───┬───> object-name ───┬─> . └───────── , <───────┘
Additional information available:
protocol-nameobject-nameQualifiersExamples
protocol-name
The name of the protocol on which the generic entity definition you want to purge is based.
object-name
Specifies the object or objects for which you want old versions deleted. You can use wildcard characters in the name.
Qualifiers
Additional information available:
/DESCENDANTS
/DESCENDANTS /NODESCENDANTS (default) Controls whether or not members of relationships owned by the purged entities will also be purged. Specifying /DESCENDANTS causes these members to be purged. The default is /NODESCENDANTS, where members of relationships are not purged. Note that if a descendent member is owned by any other relationships in addition to a purged entity, that member is not purged, even if you specified /DESCENDANTS.
/KEEP[=number]
Specifies the number of most recent versions to keep. If you do not specify a number, the default is /KEEP=1, where only the member with the highest version number is saved. You cannot purge versions of a protocol.
Examples
The command deletes all but the highest numbered version of the record definition REGION.INVENTORY.PART. CDO> PURGE RECORD REGION.INVENTORY.PART. CDO> The following command deletes all but the highest version of each object in your current default directory whose name starts with the letters "GREF": CDO> PURGE ALL GREF*. CDO> The following command purges all the objects in the current directory. The wildcard character * represents each object name in the directory: CDO> PURGE ALL *. CDO>