Deleting data from cloud storage
When you choose Option 3, Cloud Datasets, on the Main Menu and specify selection criteria, a list of backup data sets appears on the Cloud Dataset Display screen. To delete one of these data sets from the cloud, type "D" in the Cmd column next to the data set you want to delete. A confirmation window appears for you to indicate whether you want to delete this data set or keep it.
The name of the data set that you selected for deletion is listed in the confirmation window. Indicate whether you want to delete this backup data set by typing "Y" (yes) or "N" (no) in the Delete Cloud Backup field. The default is N. An example is shown below.
CUZ$CDSN V1R1 --------- Cloud Dataset Display -------- 2076/02/04 15:27:12
Option ===> Scroll ===> PAGE
Primary Commands: REFresh display REStore all in display
Line Commands: R - Restore V - View D - Delete
-------------------------------------------------------------------------------
Dataset Like *
+------------------- Delete Cloud Backup Confirmation --------------------+
| |
| Dataset Name PRODTST.ARCHLOG1.D16250.T1234567.B0000617 |
| Backup Timestamp 2076-07-20 22:32:22 |
| |
| Delete Cloud Backup N (Yes / No / All) |
| |
| PF12: Cancel |
+-------------------------------------------------------------------------+
PROD001.ARCHLOG1.D16310.T1234567.B0000618 2076-07-21 19:12:35
PRODTST.ARCHLOG1.D16310.T1234567.B0000069 2076-07-21 19:12:35
PROD001.ARCHLOG1.D16310.T1234567.A0000618 2076-07-21 19:12:40
PRODTST.ARCHLOG1.D16310.T1234567.A0000069 2076-07-21 19:12:40
PROD001.ARCHLOG2.D16310.T1234567.B0000618 2076-07-21 19:12:40
PRODTST.ARCHLOG2.D16310.T1234567.B0000069 2076-07-21 19:12:40
PROD001.ARCHLOG2.D16310.T1234567.A0000618 2076-07-21 19:12:45
PRODTST.ARCHLOG2.D16310.T1234567.A0000069 2076-07-21 19:12:46
If you typed a "D" on two or more lines on the Cloud Dataset Display screen, a confirmation window displays for each data set to verify that you want to delete it. If you selected a large number of data sets and are certain that you want to delete all of them, type "A" in the Delete Cloud Backup field to delete all of the selected data sets.
Note that you can delete expired backups from the cloud through the use of a batch job. Sample JCL is available in the CUZJEXPR member of the SCUZSAMP library. This batch job will delete all backups from the cloud and z/OS repository where the retention period has expired.