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


Allocating a VSAM Data Set Using Class Specifications

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

The following example uses the ALLOCATE command to allocate a new VSAM data set. Data class is not assigned, and attributes assigned through the default data class will be overridden by explicitly specified parameters:
   //ALLOC    JOB  ...
   //STEP1    EXEC PGM=IDCAMS,DYNAMNBR=1
   //SYSPRINT DD   SYSOUT=A
   //SYSIN    DD   *
              ALLOC -
                 DSNAME(ALX.ALLOCATE.EXAMP2) -
                 NEW CATALOG -
                 SPACE(10,2) -
                 AVBLOCK(80) -
                 AVGREC(K) -
                 LRECL(80) -
                 RECORG(ES) -
                 STORCLAS(FAST) -
                 MGMTCLAS(VSAM)
   /*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014