DELARC
The command supports additional keywords to allow the deletion of an archived data set that has not yet expired or a data set that does not have a valid expiration date. To determine whether a data set has expired, the command follows the logic described in Determining a data set expiration date.
DELARC - Syntax
M9CLI DELARC <dsname>
[PURGE]
[PURGE]
DELARC - Required parameters
Parameter | Description |
---|---|
dsname | A specific data set name |
DELARC - Optional parameters
Option | Description | Format | Examples |
---|---|---|---|
PURGE | Deletes the archived data set, although it has not yet expired. The user must have READ access to the BMC AMI Cloud Resource M9.CLI.DELARC.PURGE | - | - |
The output displays the given DELARC command and parameters, followed by the requested information:
Archived data set deleted: <dsname>
If the data set has not yet expired, it will not be deleted and message ZM9I038E will be displayed:
ZM9I038E Archive data set has not yet expired,use the PURGE keyword to delete data set <dataset>
DELARC - Examples
Deleting an expired archived data set
TSO M9CLI DELARC M9.APPL.SMF.TEMP
Deleting an archived data set that has not yet expired
TSO M9CLI DELARC M9.APPL.SMF.PROD PURGE
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*