DELETEX

This control statement removes entries from the index of SMF data that is maintained on the SCDS. DELETEX is useful for removing old or duplicate entries for overlapping data. For more information, Systems Programming.
smfd
This control statement removes entries from the index of SMF data that is maintained on the SCDS. DELETEX is useful for removing old or duplicate entries for overlapping data. For more information, Systems Programming.
We highly recommend that the SCDS is backed up before execution of any DELETEX command, especially with the ALL parameter coded.
Statement Format:
DELETEX
►►─ DELETEX ─ SID(sid) ─ LOW(date time) ─ HIGH(date time) ────────────────────►  ►─┬─────────────┬─┬───────┬─┬──────────────────────────┬─ . ─────────────────►◄    └─ ALTERNATE ─┘ └─ ALL ─┘ ├─ LSNAME(logstream name) ─┤                              └─ SUBNAME(substream name) ┘
Operands and Descriptions:
SID(sid)
Specifies the SMF ID for the history-file index. This ID is the 4-character identifier that appears in the SMF data.
LOW(date time)
Specifies the date and time of the first SMF record in the entry being deleted from the data set index.
"date" - Gregorian (mmddyy) format.
"time" is in hour/minute/second format (hhmmss).
HIGH(date time)
Specifies the date and time of the last SMF record in the entry being deleted from the data set index. "date" is in Gregorian (mmddyy) format. "time" is in hour/minute/second format (hhmmss).
ALTERNATE
Specifies that the index being deleted is the alternate history index for this SID. If not specified, the primary index is deleted.
ALL
Deletes all index entries within the date and time range that is specified on the LOW and HIGH operands. The LOW and HIGH operands must exactly equal, respectively, the low date/timestamp of a SCDS entry and the high date/timestamp of a SCDS entry; otherwise, nothing is deleted. If ALL is not coded, the LOW and HIGH operands must exactly equal, respectively, the low and high timestamps of a single SCDS entry for that entry to be deleted.
LSNAME(logstream name)
Deletes entries in the specified logstream. If the name is omitted, the delete is performed on dumps that are not associated with a logstream. The LSNAME and SUBNAME operands are mutually exclusive.
SUBNAME(substream name)
Deletes entries in the specified substream. If the name is omitted, the delete is performed on dumps that are not associated with a substream. The LSNAME and SUBNAME operands are mutually exclusive.
Sample DELETEX Statement:
DELETEX SID(XE44) LOW(042998 103019) HIGH(042998 104444)   ALTERNATE .
DELETEX statement output:
  CA                                              AUDIT TRAIL REPORT                         SMFD       PAGE     1  CA SMF Director     12.7                                                            SYSA      23 JUL yyyy  15:42:00       DELETEX SID(XE44) LOW(042998 103019) HIGH(042998 104444)       ALTERNATE .     CAF3602I  DATASET INDEX UPDATE PERFORMED     CAF2900I  RUN COMPLETE