Syntax of the DELVOL command

Read syntax diagramSkip visual syntax diagram
>>-DELVOL--volser--+-BACKUP--+----------------+----+-----------><
                   |         '-| Fragment A |-'    |   
                   +-DUMP--+----------------+------+   
                   |       '-| Fragment B |-'      |   
                   +-MIGRATION--+----------------+-+   
                   |            '-| Fragment A |-' |   
                   '-PRIMARY-----------------------'   

A: BACKUP and MIGRATION optional parameters

|--+------------------+-----------------------------------------|
   |   .-UNASSIGN-.   |   
   '-(-+-MARKFULL-+-)-'   
       '-PURGE----'       

B: DUMP optional parameters

|--(--+----------+--+--------------+--+--------------+--)-------|
      +-UNASSIGN-+  '---LASTCOPY---'  '-COPYPOOLCOPY-'      
      +-PURGE----+                                          
      '-REASSIGN-'                                          

Note:
  1. If you specify the COPYPOOLCOPY, LASTCOPY, MARKFULL, PURGE, REASSIGN, or UNASSIGN subparameter of the BACKUP, DUMP, or MIGRATION parameter, you must put parentheses around the subparameter.
  2. If the volume serial number is for an SMS-managed volume, only the PRIMARY parameter applies.
  3. If a DELVOL MIGRATION command is used to delete a migration volume while the automatic secondary space management function is running, the DELVOL MIGRATION command fails.
  4. If SMS storage groups change, use the DELVOL command to remove from DFSMShsm control those volumes that were removed from the SMS storage groups before daily automatic functions started. Remove those volumes on all DFSMShsm systems that know about them so that the MVT entries are no longer present.