z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Allocate a Partitioned Data Set Extended: Example 5

z/OS DFSMS Access Method Services Commands
SC23-6846-01

This example shows the ALLOCATE command being used with the DSNTYPE keyword to allocate 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)
  /*
The parameters are:
  • DSNAME specifies that the name of the data set to be allocated is XMP.ALLOCATE.EXAMPLE1.
  • NEW creates the data set.
  • STORCLAS uses the SC06 storage class definition for this data set.
  • MGMTCLAS uses the SC06 management class definition for this data set.
  • DSNTYPE(LIBRARY) indicates that the object being allocated is an SMS-managed PDSE.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014