The following steps present an example of how to use the HDELETE
line operator to delete a migrated data set. In our example, we have
used USER20.ISMF.JCL as a sample data set name.
- Generate a list of data sets as described in Methods of performing tasks.
- Enter the HDELETE line operator in the line operator column next
to USER20.ISMF.JCL as described in Figure 1.
Figure 1. Data Set List Panel with
HDELETE Selected Panel List Dataset Utilities Scroll Help
------------------------------------------------------------------------------
DATA SET LIST
Entries 1-1 of 1
Enter Line Operators below: Data Columns 3-6 of 39
LINE ALLOC ALLOC % NOT COMPRESSED
OPERATOR DATA SET NAME SPACE USED USED FORMAT
---(1)---- ------------(2)------------ --(3)-- --(4)-- -(5)- ---(6)----
USER20.CLIST.CLIST 46 46 0 ???
USER20.DFP220.DGTTLIB 46 46 0 ???
USER20.ISMF.DGTLLIB 46 46 0 ???
USER20.ISMF.DGTPLIB 46 46 0 ???
USER20.ISMF.DUMP 4684 4356 7 ???
HDELETE USER20.ISMF.JCL 468 46 90 ???
USER20.ISPFILE 46 46 0 ???
USER20.ISPPROF 93 93 0 ???
USER20.SPFLOG1.LIST 2623 1311 50 ???
USER20.TEMP.DATASET 4684 93 98 ???
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
Command ===> Scroll ===> HALF
F1=Help F2=Split F3=End F4=Return F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cursor
The HDELETE Entry panel appears.
- Complete the HDELETE Entry panel as described in Figure 2. (Specify Y in the wait for completion field
if you want to wait for HDELETE to complete before returning to ISMF.)
Figure 2. HDELETE Entry Panel Panel Utilities Help
------------------------------------------------------------------------------
HDELETE ENTRY PANEL
Optionally Specify One or More for
Data Set: USER20.ISMF.JCL
Delete DFSMShsm Backup Versions Y (Y or N)
Wait for Completion . . . . . . N (Y or N)
Purge Unexpired Data Set . . . . N (Y or N)
Data Set Password . . . . . . . (if password protected)
Command ===>
F1=Help F2=Split F3=End F4=Return F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cursor
The Data Set List panel appears as shown in Figure 3.
The asterisk next to the HDELETE in the line operator column indicates
that the deletion was successful if you specified wait for completion=Y,
or that the deletion task was successfully issued to DFSMShsm if
you specified wait for completion=N.
Figure 3. Data Set List Panel after
Function Completes Panel List Dataset Utilities Scroll Help
------------------------------------------------------------------------------
DATA SET LIST
Entries 1-1 of 1
Enter Line Operators below: Data Columns 3-6 of 39
LINE ALLOC ALLOC % NOT COMPRESSED
OPERATOR DATA SET NAME SPACE USED USED FORMAT
---(1)---- ------------(2)------------ --(3)-- --(4)-- -(5)- ---(6)----
USER20.CLIST.CLIST 46 46 0 ???
USER20.DFP220.DGTTLIB 46 46 0 ???
USER20.ISMF.DGTLLIB 46 46 0 ???
USER20.ISMF.DGTPLIB 46 46 0 ???
USER20.ISMF.DUMP 4684 4356 7 ???
*HDELETE USER20.ISMF.JCL 468 46 90 ???
USER20.ISPFILE 46 46 0 ???
USER20.ISPPROF 93 93 0 ???
USER20.SPFLOG1.LIST 2623 1311 50 ???
USER20.TEMP.DATASET 4684 93 98 ???
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
Command ===> Scroll ===> HALF
F1=Help F2=Split F3=End F4=Return F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cursor
For more information on using DFSMShsm/ISMF line operators, see z/OS DFSMS Using the Interactive Storage Management Facility
or use the online help provided with ISMF.