Overrides

DSNTYPE overrides the DSNTYPE attribute in the DATACLAS parameter for the data set. See Overrides.

DSNTYPE on the DD statement overrides:
  • The DSNTYPE for the data set referenced by LIKE
  • The DD statement that is referenced by REFDD

The source of the DSNTYPE value is the DD statement or dynamic allocation, the data class, the data set referenced by the LIKE= parameter or the DD statement referenced by the REFDD= parameter. If the resulting DSNTYPE value is HFS or PIPE, conflicting parameters are overridden. If the DSNTYPE value is not HFS or PIPE, other parameters are not overridden.

If the new data set is sequential and on DASD, then a DSNTYPE value of BASIC, LARGE, EXTPREF or EXTREQ is effective. If the new data set is partitioned (by DSORG=PO or a directory size on the SPACE parameter), then a value of LIBRARY or PDS is effective. If you did not specify DSORG=PO or a directory size on SPACE, you will get a PDS or PDSE only if you set the HONOR_DSNTYPE_PDSE(YES) parameter in the IGDSMSxx member in SYS1.PARMLIB. The default value for this parameter is HONOR_DSNTYPE_PDSE(NO).