DELETE

The DELETE command deletes up to 99 VSAM and non-VSAM data sets. It deletes the local files associated with the data set and removes the entry from the catalog.

Parameters:

MFJAMS supports the following parameters as documented in the IBM documentation unless otherwise stated below:

data-set-names
Names of the data sets to be deleted. This parameter is required. You can specify a list of names separated by blanks and enclosed in parentheses. You can also specify generic names by using '*' as a qualifier. For example, a generic data set name of ABC.*.FILE means all data sets with ABC as the first qualifier, any value as the second qualifier, and FILE as the third and last qualifier.
Enhanced use of % and * wildcards is supported using the 'MASK' keyword. For example; DELETE MFI01.TEST.*L.D%TA2 MASK.
FORCE
All GDG data sets will be deleted in addition to the GDG catalog entry.
NOFORCE
The GDG catalog entry will not be deleted if any GDG data sets exist.
PURGE
The expiry date set on a catalog record is checked when deleting a catalogued dataset. The PURGE keyword is required for non-expired datasets.

Comments:

FORCE and NOFORCE are mutually exclusive. NOFORCE is the default.