DSNTYPE


The DSNTYPE option tells UNLOAD PLUS either what type of file you are using or what type of data set to allocate dynamically, depending on the value that you specify.

DSNTYPE.png

UNLOAD PLUS uses the DSNTYPE values for the following types of files:

  • For referenced files, the PDS, LIBRARY, and HFS values for DSNTYPE tell UNLOAD PLUS which type of file you are using. UNLOAD PLUS requires this option when you are unloading LOB or XML data to a referenced file. For more information about using referenced files, see  Unloading LOB and XML data.
  • For unload data sets (SYSREC and SYSRED), the remaining values for DSNTYPE tell UNLOAD PLUS what type of data set to allocate dynamically.

You can specify one of the following values:

 

Keyword

Applies to

Description

PDS

Referenced files

PDS tells UNLOAD PLUS to dynamically allocate a partitioned data set (PDS) as your referenced file.

LIBRARY

Referenced files

LIBRARY tells UNLOAD PLUS to dynamically allocate an extended partitioned data set (PDSE) as your referenced file.

HFS

Referenced files

HFS tells UNLOAD PLUS that the referenced file is a hierarchical file system (HFS). The HFS named in DSNAME must be preallocated and mounted before the UNLOAD PLUS job starts.

The only other valid OUTPUT command options with DSNTYPE HFS are the descriptor name, DSNAME, and SUBSETS.

NONE

Unload (SYSREC and SYSRED) data sets

NONE tells UNLOAD PLUS to not use any extended attributes for this data set allocation.

LARGE

Unload (SYSREC and SYSRED) data sets

LARGE tells UNLOAD PLUS to allocate this data set as a large format sequential data set. This option enables data sets larger than 65,535 tracks.

BASIC

Unload (SYSREC and SYSRED) data sets

BASIC tells UNLOAD PLUS to allocate this data set as a basic sequential data set. This data set will be limited to 65,535 tracks.

EXTREQ

Unload (SYSREC and SYSRED) data sets

EXTREQ tells UNLOAD PLUS to allocate this data set as an extended format data set. Ensure that the unit that you specify or default to with the UNIT option supports extended attributes.

EXTPREF

Unload (SYSREC and SYSRED) data sets

EXTPREF indicates that you prefer that UNLOAD PLUS allocate this data set as an extended format data set. If this allocation is not possible, the data set is allocated as a basic format data set.

Ensure that the unit that you specify or default to with the UNIT option supports extended attributes.

Specifying the default

You can specify the default for the DSNTYPE command option in your installation options module by using the DSNTYPE installation option. UNLOAD PLUS was shipped with a default value of PDF for referenced files and NONE for unload data sets. The command option overrides the default that is in the installation options module.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

UNLOAD PLUS for DB2 13.1