DELETE

This control statement removes configurations from the SCDS. DELETE removes any history information for the indicated system or stream, and removes all configuration information too.
smfd
This control statement removes configurations from the SCDS. DELETE removes any history information for the indicated system or stream, and removes all configuration information too.
To DELETE a stream or a full system configuration, run a BACKUP of the SCDS after the last time data was dumped. If there are not any dumps for a configuration, the configuration can be deleted without running the BACKUP. If a BACKUP has not been run before the DELETE, the DELETE terminates in error. This termination can be overridden with PARM=FORCE. However, overriding the termination is not recommended because once the configuration and history archive information is erased it cannot be recovered.
Statement Format:
DELETE
►►─ DELETE ─ SID(sid) ─────────────────────────────────────────────────────────────►                              ├─ LSNAME(logstream name───┤                              └─ SUBNAME(substream name) ┘
Operands and Descriptions:
SID(sid)
Specifies the SMF ID for the history-file index. This operand is the four character identifier that appears in the SMF data. If this operand is specified alone, all history file archive records and configuration information are removed for the entire SMF ID. This removal includes all streams and their information.
LSNAME(logstream name)
Deletes the specified logstream. The LSNAME and SUBNAME operands are mutually exclusive.
SUBNAME(substream name)
Deletes the specified substream. The LSNAME and SUBNAME operands are mutually exclusive.
Sample DELETE Statement:
DELETE SID(XE44) .
The DELETE statement output:
1CA HERNDON                                      AUDIT TRAIL REPORT                            SMFD       PAGE     1                   CA SMF Director  r12.7                                                              XAD1      22 AUG yyyy   9:39:58                  DELETE SID(XAD1) .  CAF0723I  DELETE ACCEPTED FOR PROCESSING CAF0726I  SID XAD1 DELETED CAF0530I  CONTROL DATA SET LIVMI02.SMFR127.SCDS IS ON VOLUME PMA001 CAF2900I  RUN COMPLETE