IDCAMS Delete

IDCAMS Verify

Advertisements


The DELETE command can be used to delete both VSAM and non-VSAM objects.

DELETE command is used to delete the above objects provided in the syntax.

DELETE-ENTRY NAME: The dataset name which needs to be deleted and the dataset name which needs to be existed.

DELETE-ERASE (ERAS) / NOERASE (NERAS): DELETE command is executed with the ERASE option, not only will the entry be removed from the catalog but also the data component will immediately be overwritten with binary zeroes.

DELETE-PURGE (PRG) / NOPURGE (NPRG): NOPURGE option specifies that the entry not to be deleted if the retention period has not expired. (Default).

DELETE-FORCE (FRC)/ NOFORCE (NFRC):

FORCE allows user to delete data spaces, generation data groups, and user catalogs without first ensuring that these objects are empty.

NOFORCE causes the DELETE command to terminate when you request the deletion of data space, generation data group, or catalog that is not empty.




IDCAMS Verify

Advertisements