Allocating a Data Set Using Class Specifications

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: