Making dump data sets ready to receive dumps

Use the DUMPDS CLEAR command to empty the specified data set and mark it as available to receive a dump.

DD CLEAR,DSN
 
DD CLEAR,DSN={nn                           }
             {(nn[,nn]...)                 }
             {nn-nn                        }
             {(nn-nn[,nn-nn]...)           }
             {(nn[,nn]...,nn-nn[,nn-nn]...)}
             {ALL                          }
             {(ALL)                        }
 
CLEAR,DSN=nn or ALL
Clear and mark as available for dumps the specified direct access dump data sets on the system's list of SYS1.DUMP data sets. The system clears each full direct access dump data set by writing an end-of-file mark at the beginning of the data set.

A DUMPDS CLEAR,DSN= command does not process any data set that is not in the system's list of SYS1.DUMP data sets.

nn
The two-digit decimal identifier (00-99) of a direct access SYS1.DUMP data set you want to clear and mark as available for a dump. You can specify one or more single identifiers and/or one or more ranges of identifiers. If you specify a range of identifiers, the first identifier must be less than the second identifier.
ALL
Clears and marks as available for a dump all direct access dump data sets in the system's list of SYS1.DUMP data sets.

Example 1:

To clear, and mark as available for dumps, the direct access data sets SYS1.DUMP00-SYS1.DUMP05 and SYS1.DUMP09, enter:
DD CLEAR,DSN=(00-05,09)

Example 2:

To clear and mark as available for dumps all the full direct access data sets on the system's list of SYS1.DUMP data sets, enter:
DD CLEAR,DSN=(ALL)