Skip to content

ZosDataSetProfile

The ZosDataSetProfile object represents a single data set profile. This object can be obtained using the Item property of ZosDataSetProfiles. ZosDataSetProfile specifies the default attributes of a newly created data set based on data set name patterns.

ZosDataSetProfile Constructor

The following constructor can be used to initialize a new ZosDataSetProfile object:

ZosFileFormatMapping(
    String dsName,  
    ZosDataSetType dsType,  
    ZosRecordFormat recordFmt, [optional]  
    Int16 recordLength, [optional]  
    Int16 blockSize, [optional]  
    String dataClass, [optional]  
    String storageClass, [optional]  
    String managementClass, [optional]  
    ZosSpaceUnit spaceUnit, [optional]  
    Int32 primarySpace, [optional]  
    Int32 nSecondarySpace, [optional]  
    Int32 directoryBlocks, [optional]  
    String unitName, [optional] 
    String volume, [optional] 
    ZosDataSetEAttr eattr, [optional] 
    Int16 pdseVersion, [optional] 
    Int32 maxGens [optional] 
    )

...

Parameters Method

Parameter Description
dsName Data set name
dsType Data set type
recordFmt Record format
recordLength Record length
blockSize Block size
dataClass Data class
storageClass Storage class
managementClass Management class
spaceUnit Space units
primarySpace Primary
nSecondarySpace Secondary space
directoryBlocks Directory blocks
unitName Unit name
volume Volume serial number
eattr Extended attributes
pdseVersion PDSE version number (0, 1, 2)
maxGens Max number of generations

...

ZosDataSetProfile Properties

ZosDataSetProfile exposes the following properties:

Property Type R/W Description
DataSetName String R Data set name pattern.
DataSetType ZosDataSetType R Data set type: Seq, Pds, Pdse
RecordFormat ZosRecordFormat R Record format.
RecordLength Int16 R Record length.
BlockSize Int16 R Block size.
DataClass String R SMS data class.
StorageClass String R SMS storage class.
ManagementClass String R SMS management class.
UnitName String R Unit name.
Volume String R Volume serial number.
SpaceUnit ZosSpaceUnit R Space units (cylinders, tracks, blocks)
PrimarySpace Int32 R Primary space quantity.
SecondarySpace Int32 R Secondary space quantity.
DirectoryBlocks Int32 R PDS directory blocks.
ExtendedAttributes ZosDataSetEAttr R Extended attributes (no, optional)
PdseVersion Int16 R PDSE version number: 0 (default), 1, 2
MaxGens Int32 R Maximum number of PDSE member generations

...

Back to top