z/OS TSO/E User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


KEEP and DELETE Operands

z/OS TSO/E User's Guide
SA32-0971-00

A data set is deallocated when you log off the system or you issue the FREE command. What happens to a data set after it is deallocated is called the disposition of the data set. You can specify the disposition of an existing data set with the following operands:
  • KEEP - the system retains the data set. This is the default for existing data sets.
  • DELETE - the system deletes the data set.
Example
ALLOCATE DATASET(input.data) FILE(sysin) OLD DELETE

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014