z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example

z/OS TSO/E Command Reference
SA32-0975-00

Operation: Delete an entry. In this example, a non-VSAM data set is deleted.

Known:

  • The name of the data set to be deleted is EXAMPLE.NONVSAM.
  • The prefix in the profile is D27UCAT.
  • Your user ID is D27UCAT.
delete example.nonvsam scratch nonvsam

The DELETE command deletes the non-VSAM data set (D27UCAT.EXAMPLE.NONVSAM). Because the catalog in which the entry resides is assumed not to be password protected, the CATALOG operand is not required to delete the non-VSAM entry.

SCRATCH removes the VTOC entry of the non-VSAM data set. Because FILE is not coded, the volume that contains D27UCAT.EXAMPLE.NONVSAM is dynamically allocated.

NONVSAM ensures the entry being deleted is a non-VSAM data set. However, DELETE can still find and delete a non-VSAM data set if NONVSAM is omitted.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014