z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


D — delete entire data set

z/OS ISPF User's Guide Vol II
SC19-3628-00

If you select option D, a confirmation panel is displayed (Figure 1) so you can make sure you did not select this option by mistake.

Figure 1. Confirm Delete panel (ISRUADC1)
   Menu  RefList  Utilities  Help
 ─ ┌───────────────────────────────────────────────────────────────────┐ ──────
   │                          Confirm Delete                           │
   │                                                      More:     +  │
   │ Data Set Name . : MYPROJ.DEV.SOURCE                               │
   │ Volume  . . . . : MVS8WF                                          │
   │ Creation date . : 2002/07/08                                      │
 b │                                                                   │
   │ Enter "/" to select option                                        │
 I │    Set data set delete confirmation off                           │
   │                                                                   │
   │ Instructions:                                                     │
   │   Press ENTER to confirm delete.                                  │
   │   (The data set will be deleted and uncataloged.)                 │
 O │                                                                   │
   │   Press CANCEL or EXIT to cancel delete.                          │
   │                                                                   │ "C")
   │ Command ===>                                                      │
 D │  F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward   │
   │  F9=Swap     F12=Cancel                                           │
   └───────────────────────────────────────────────────────────────────┘
 Option ===> D
  F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward   F9=Swap
 F10=Actions  F12=Cancel
If you specify a volume serial for the data set to be deleted, ISPF checks to see whether the data set is cataloged on that volume. If so, the Confirm Delete panel prompts you to specify whether to uncatalog the data set. The displayed default is YES. If no volume serial is specified, and the data set does not have an expiration date, the data set is deleted and uncataloged.
Note:
  1. ISPF does not delete password-protected data sets or data sets allocated with an esoteric device type.
  2. A volume serial is not allowed for multivolume data sets using Delete.
As directed on the panel, perform one of these actions:
  • Press Enter to confirm the data set deletion.
  • Enter the CANCEL or EXIT command to cancel. This action returns you to the previous panel.

If the data set has an expiration date that has not expired, ISPF displays a Confirm Purge panel (Figure 2) after the Confirm Delete panel.

Figure 2. Confirm purge panel (ISRUADC3)
   Menu  RefList  Utilities  Help
 ─ ┌─────────────────────────────────────────────────────────────────────┐ ─────
   │                               Confirm Delete                        │
   │                                                                     │
   │ Data Set being deleted has an expiration date which has not expired │
   │ Data Set Name . : MYPROJ.DEV.SOURCE                                 │
   │ Volume  . . . . : MVS8WF                                            │
 b │ Creation date . : 2002/07/08                                        │
   │ Expiration Date : 2002/10/01                                        │
 I │                                                                     │
   │ Enter "/" to select option                                          │
   │    Purge Data Set                                                   │
   │                                                                     │
   │ Instructions:                                                       │
 O │   Enter "/" to confirm the purge request.                           │
   │   (The data set will be deleted and uncataloged.)                   │
   │                                                                     │
   │   Press CANCEL or EXIT to cancel the purge request.                 │
   │                                                                     │
   │ Command ===>                                                        │
 D │  F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward     │
   │  F9=Swap     F12=Cancel                                             │
   └─────────────────────────────────────────────────────────────────────┘
 F10=Actions  F12=Cancel

Use a slash to select Purge Data Set if you want ISPF to purge the data set. The statement that is enclosed in parentheses on the Confirm Purge panel shows whether the data set to be purged will be uncataloged.

When you delete a data set, the volume name is compared to the volume name in the configuration table. If the names match, the command specified in the configuration table is used in place of the ISPF delete processing. This lets you delete migrated data sets without first causing them to be recalled.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014