DELARC


You can use the DELARC command to delete an expired archived data set and its catalog entry, without having to recall it first.

DELARC - Logic

Use DELARC instead of an 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.

Warning

The DELARC action cannot be undone.

DELARC - Syntax

M9CLI DELARC <dsname>
 
[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*