Over time, Captured Event data sets are deleted automatically, based on their retention period and expiration date, or they are deleted manually. When an Event data set is deleted, remove the corresponding entry from the index data set. The CA SYSVIEW Index Maintenance utility (CAPMAINT) can perform the required functions to solve these synchronization problems.
You can schedule CAPMAINT to run on an interval basis, using the SYSVIEW Event Scheduler. For details, see the chapter “Start the Product Subtasks.” By default, the CAPMAINT utility is triggered in the supplied scheduled events parmlib member SCHEDULE.
We recommend running the CAPMAINT utility periodically to synchronize your Capture Index and Event data structures. The same functions can also be performed manually as subcommands and line commands of the CAPMAINT command display, as described in the following list:
This function attempts to synchronize the specified Capture Index data set and its corresponding Capture Event data sets. The cleanup function is both a subcommand and line command of the CAPMAINT command:
If the cleanup function is entered as a subcommand, the Event data sets listed in the index are processed one at a time.
The cleanup function only attempts cleanup of the selected event entry. The following cases illustrate the results of using the cleanup function based on the state of the Event data set.
Case 1: The event data set does not exist.
Action: The index entry for the event data set is erased.
Case 2: The event data set does exist and is expired.
Action: The event data can be optionally deleted based on the specified options of DELETE or NODELETE. If the data set is successfully deleted, the index record is erased.
Case 3: The event data set does exist and is not expired.
Action: None
The delete function is a line command of the CAPMAINT command. The delete line command is entered in the line command field of a selected event. The function deletes and uncatalogs the event data set. The corresponding index entry is not changed.
The erase function is a line command of the CAPMAINT command. The erase line command is entered in the line command field of a selected event. The function erases the selected entry in the index data set. The corresponding event data set is unchanged, when one exists.
The purge function is a line command of the CAPMAINT command. The purge line command is entered in the line command field of a selected event. The function deletes and uncatalogs the event data set. The corresponding index entry is erased. This function is equivalent to issuing DELETE and ERASE. This function is similar to the cleanup function.
Important! Purge deletes the Event data set, regardless of the retention period set, that is, the expiration date.
The import function is a subcommand of the CAPMAINT command. The import function lets you associate manually an event data set with an index.
Copyright © 2014 CA.
All rights reserved.
|
|