Deleting history file entries

A fault entry can be deleted from a history file automatically or explicitly.

Automatic fault entry deletion

Fault Analyzer automatically deletes the oldest, unlocked fault entry from a history file when the history file contains its maximum number of fault entries and a new fault occurs. To use ISPF to configure the number of fault entries in a history file, click File > Fault History File Properties.

Explicit fault entry deletion

You can use the ISPF Fault Entry List display to explicitly delete a fault entry from a history file by entering the D line command against the entry. You can also delete a range of fault history entries. Enter DD next to the first and last fault history entries to delete the two entries and all of the entries displayed between them. You can use a match to first group together the entries you want to delete. (See Sorting and matching fault entries.) When you delete a range of a matched set of entries, only the entries displayed on the screen are deleted. You do not delete any entries that are interleaved with the displayed entries in the original history file but are not currently displayed.

A fault entry is not deleted if the entry's lock flag is set to a non-numerical, non-blank value, or if the specified number of days since the fault entry's creation has not elapsed. If a fault entry cannot be deleted due to insufficient access authority, or because the fault entry is locked, the reason is displayed. See Locking fault entries and Viewing fault entry information.

You can also delete a fault entry with the IDIUTIL utility. See the DELETE control statement.

Configuring confirmation of fault-entry deletion

By default, Fault Analyzer prompts for confirmation before deleting the selected fault entries.

Figure 1. Sample Confirm Fault Entry Deletion display
┌─────────────────────────────────────────────────────────────────────────────┐
│ Command ===> ___________________________________________  Scroll ===> CSR   │
│                                                                             │
│ Press Enter to delete the selected fault entries, or press PF3/PF12 to      │
│ abort the delete request.                                                   │
│                                                                             │
│ Keep delete confirmation on : Y (Y/N)                                       │
│                                                                             │
│ Selected fault entries:                                                     │
│   SW00882 SW00886 SW00926 SW00927 SW16070 SW16072                           │
│                                                                             │
│ *** Bottom of data.                                                         │
│                                                                             │
│                                                                             │
│                                                                             │
│                                                                             │
│  F1=Help     F3=Exit     F7=Up       F8=Down    F12=Cancel                  │
└─────────────────────────────────────────────────────────────────────────────┘

To bypass the confirmation display, set Keep delete confirmation on to N.

To restore the confirmation display, set the Confirm Fault Entry Deletion option to Y. See Fault Analyzer preferences.