z/OS TSO/E Primer
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Deleting an entire data set

z/OS TSO/E Primer
SA32-0984-00

To delete an entire data set, select the DATASET option (option 2).
--------------------------  UTILITY SELECTION MENU  ----------------------------
OPTION ===> 2

    1  LIBRARY     - Compress or print data set.  Print index listing.
                       Print, rename, delete, or browse members
    2  DATASET     - Allocate, rename, delete, catalog, uncatalog, or
                       display information of an entire data set
    3  MOVE/COPY   - Move, copy, or promote members or data sets
    4  DSLIST      - Print or display (to process) list of data set names
                       Print or display VTOC information
    5  RESET       - Reset statistics for members of ISPF library
    6  HARDCOPY    - Initiate hardcopy output
    8  OUTLIST     - Display, delete or print held job output
    9  COMMANDS    - Create/change an application command table
   10  CONVERT     - Convert old format messages/menu panels to new format
   11  FORMAT      - Format definition for formatted data Edit/Browse
   12  SUPERC      - Compare data sets (Standard dialog)
   13  SUPERCE     - Compare data sets (Extended dialog)
   14  SEARCH-FOR  - Search data sets for strings of data
The next panel you see allows you to do several data set management tasks. To delete a data set, type D for delete on the OPTION line. Then specify the three data set qualifiers in the ISPF LIBRARY fields.
-------------------------------  DATA SET UTILITY  -----------------------------
OPTION ===> d

    A - Allocate new data set                 C - Catalog data set
    R - Rename entire data set                U - Uncatalog data set
    D - Delete entire data set                S - Data set information (short)
    blank - Data set information

ISPF LIBRARY:
    PROJECT ===>  prefix
    GROUP   ===>  newtest
    TYPE    ===>  data

OTHER PARTITIONED OR SEQUENTIAL DATA SET:
    DATA SET NAME ===>
    VOLUME SERIAL ===>          (If not cataloged, required for option "C")

DATA SET PASSWORD ===>          (If password protected)
When you press the Enter key, you see the Confirm Delete panel to ensure that you didn't type the D by mistake. To delete the data set, press the Enter key. To cancel the delete process, press the END PF key (PF 3).
-------------------------------  CONFIRM DELETE  -------------------------------
COMMAND ===>

DATA SET NAME:  PREFIX.NEWTEST.DATA
VOLUME:         TSO018
CREATION DATE:  87/02/15


INSTRUCTIONS:

    Press ENTER key to confirm delete request.
       (The data set will be deleted and uncataloged.)

    Enter END command to cancel delete request.
Exercise

Create another sequential data set by following the example starting at Creating a data set in ISPF/PDF. Name the new data set PREFIX.NEWTEST.DATA.

Now delete the new data set you just created by following the example starting at Deleting a data set in ISPF/PDF. When you press the Enter key on the delete confirmation panel, you see the message:
DATA SET DELETED

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014