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


KEEP, CATALOG, and DELETE Operands

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

To specify what happens to the data set when it is deallocated, use the KEEP, CATALOG, and DELETE operands.

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 freed is called the disposition of the data set. You can specify the disposition of a new data set with the following operands:
  • KEEP specifies that the system retain the data set.
  • CATALOG specifies that the system store retrievability information about the data set in the master catalog.
  • DELETE specifies that the system delete the data set.
Example
ALLOCATE DATASET(new.data) NEW DIR(4) BLOCK(800) SPACE(20,10)
  DSORG(po) RECFM(f,b) LRECL(80) BLKSIZE(3200) CATALOG

For more information about data set attributes, see z/OS TSO/E Command Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014