DELARC
The DELARC command is used to delete an expired archived data set and its catalog entry - without having to recall it first.
Use DELARC instead of an IDCAMS DELETE to delete an archived data set without causing an automatic recall. The deleted data set will be visible in the UI until a periodic synchronization, which by default, is performed automatically every 5 minutes. If needed, on-demand synchronization can be performed via the UI, by clicking the “SYNC WITH STORAGE” button in the “Agents” tab. See the Administration and User Guide for more information.
The command supports additional keywords to allow 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.
Warning
The DELARC action cannot be undone.
M9CLI DELARC <dsname>
[PURGE]
Parameter | Description |
dsname | A specific data set name. |
Option | Description | Format | Examples |
PURGE | Deletes the archived data set, although it has not yet expired. The user must have READ access to the Model9 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>
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
Last modified 4mo ago