Examples of how to code the FRDELETE command

The following examples present different ways to code the FRDELETE command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Deleting all versions of a fast replication backup

In this example, DFSMShsm deletes all fast replication backup versions for both DASD and dump copies for the specified copy pool.
   FRDELETE COPYPOOL(CPDATABASE1) ALL BOTH

Deleting one version of a fast replication backup by version number

In this example, DFSMShsm deletes one fast replication backup version for a copy pool. The specific version number is specified.
   FRDELETE COPYPOOL(CPDATABASE1) VERSIONS(2)

Deleting one version of a fast replication backup by token

In this example, DFSMShsm deletes the fast replication backup version for a copy pool. The specific token is specified.
   FRDELETE COPYPOOL(CPDATABASE1) TOKEN(53800)

Deleting a dump class from a copy pool dump version

In this example a single dump class is removed from a copy pool dump version.
   FRDELETE COPYPOOL(CPDATABAS1) TOKEN(53801) DUMPONLY(DUMPCLASS(DCL1))

Deleting only the DASD version for two copy pool versions

In this example, version 5 and 6 DASD copy of a copy pool will be deleted
   FRDELETE COPYPOOL(CPDATABAS1) VERSIONS(5,6) DASDONLY