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


LIKE Operand

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

To create a data set like another, issue the ALLOCATE command, specify the DATASET operand followed by the new data set name, and specify the LIKE operand followed by the name of the model data set.

Example
ALLOCATE DATASET(test.data) LIKE(model.data)

MODEL.DATA then has the same attributes as TEST.DATA.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014