z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Allocating a Data Set Using Class Specifications

z/OS DFSMS Using Data Sets
SC23-6855-00

In the following example, the ALLOCATE command is used to allocate a new data set using the SMS classes. SMS must be active. The data set can be VSAM or non-VSAM.
   //ALLOC    JOB  ...
   //STEP1    EXEC PGM=IDCAMS,DYNAMNBR=1
   //SYSPRINT DD   SYSOUT=A
   //SYSIN    DD   *
              ALLOC -
                 DSNAME(ALX.ALLOCATE.EXAMP1) -
                 NEW CATALOG -
                 DATACLAS(STANDARD) -
                 STORCLAS(FAST) -
                 MGMTCLAS(VSAM)
   /*
The command parameters follow:
  • DSNAME specifies the name of the data set being allocated is ALX.ALLOCATE.EXAMP1.
  • NEW specifies the data set being allocated is new.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014