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


Defining a PDSE

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

This topic shows how to define a PDSE. The DSNTYPE keyword defines either a PDSE or PDS. The DSNTYPE values follow:

  • LIBRARY (defines a PDSE)
  • PDS (defines a partitioned data set)

To define PDSE data set types, specify DSNTYPE=LIBRARY in a data class definition, a JCL DD statement, the LIKE keyword, the TSO ALLOCATE command, or the DYNALLOC macro.

Your storage administrator can assign DSNTYPE=LIBRARY in the SYS1.PARMLIB member IGDSMSxx as an installation default value. If the installation default is DSNTYPE=LIBRARY, specify DSORG=PO or DIR space in the JCL or data class definition to allocate the data set as a PDSE (you do not need to specify DSNTYPE in this case).

The following parameters are both required to allocate a PDSE:
  • Specify DIR space (greater than zero) or DSORG=PO (partitioned organization) in the JCL, in the DYNALLOC macro, in the data class, or in the TSO ALLOCATE command.
  • Specify DSNTYPE=LIBRARY in the JCL, in the data class, in the TSO ALLOCATE command, using the LIKE keyword, or as the installation default specified in SYS1.PARMLIB.
Recommendation: If you do not want to allocate the data set as a PDSE, but the data class definition set up in the ACS routine specifies DSNTYPE, override it in one of two ways:
  • By specifying a data class without the DSNTYPE keyword (in the JCL DD statement or ISMF panel).
  • By specifying DSNTYPE=PDS in the JCL DD statement, data class, LIKE keyword, or ALLOCATE command.
When you create a data set and specify the number of directory entries or DSORG=PO or the data class has DSORG=PO without being overridden, SMS chooses whether it will be a PDS or PDSE. SMS uses the first source of information in the following list:
  • DSNTYPE=PDS or DSNTYPE=LIBRARY (for a PDSE) in JCL or dynamic allocation.
  • DSNTYPE of PDS or LIBRARY in data class.
  • Installation default (in IGDSMSxx member if SYS1.PARMLIB).
  • PDS.

An error condition exists and the job is ended with appropriate messages if the DSNTYPE keyword was specified in the JCL, but the job runs on a processor with a release of MVS that does not support the JCL keyword DSNTYPE. Message IEF630I is issued.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014