DELARC
Logic
Use DELARC instead of IDCAMS DELETE to delete an archived data set without causing an automatic recall. The deleted data set is visible in the UI until a periodic synchronization, which by default, is performed automatically every 5 minutes. If needed, you can perform on-demand synchronization via the UI by clicking SYNC WITH STORAGE in the Agents tab.
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.
Syntax
[PURGE]
Required parameters
Parameter | Description |
---|---|
dataSetName | A specific data set name |
Optional parameters
Option | Description | Format | Examples |
---|---|---|---|
PURGE | Deletes the archived data set, although it has not yet expired You must have READ access to the BMC AMI Cloud resource M9.CLI.DELARC.PURGE | NA | NA |
The output displays the given DELARC command and parameters, followed by the requested information:
If the data set has not yet expired, it will not be deleted and message ZM9I038E will be displayed:
Examples
The following examples demonstrate use of the command.
Deleting an expired archived data set
Deleting an archived data set that has not yet expired