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


Allocating a PDSE

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

The following example shows the ALLOCATE command used with the DSNTYPE keyword to create a PDSE. DSNTYPE(LIBRARY) indicates the data set being allocated is a PDSE.
   //ALLOC    EXEC  PGM=IDCAMS,DYNAMNBR=1
   //SYSPRINT DD    SYSOUT=A
   //SYSIN    DD    *
              ALLOC -
                 DSNAME(XMP.ALLOCATE.EXAMPLE1) -
                 NEW -
                 STORCLAS(SC06) -
                 MGMTCLAS(MC06) -
                 DSNTYPE(LIBRARY)
   /*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014