Skip to content

ZosDataSetProfiles

The ZosDataSetProfiles object is a collection of all data set profiles for a server. This object is obtained using the DataSetProfiles property of the ZosServer object.

ZosDataSetProfiles Properties

ZosDataSetProfiles exposes the following properties:

Property Type R/W Description
Item (varIndex) Object (IZosDataSetProfile) R Data set profile with specified index or data set name pattern.
Count Integer (long) R Number of objects in collection.

ZosDataSetProfiles Methods

ZosDataSetProfiles exposes the following methods:

Add Method

Adds a new data set profile. Data set type can be "SEQ", "PDS", or "PDSE". Space unit can be "CYL", "TRK", or "BLK".
Index indicates position for new item. Specify –1 to insert at end.

Add ( 
    nIndex, 
    strDataSetName, 
    strDataSetType, 
    strRecordFormat, 
    nRecordLength, 
    nBlockSize, 
    strDataClass, 
    strStorageClass, 
    strManagementClass,  
    strSpaceUnit, 
    nPrimarySpace, 
    nSecondarySpace, 
    nDirectoryBlocks, 
    strUnitName, 
    strVolume, 
    nPdseVersion,  
    MaxGens  
    ) 

Returns

Object (IZosDataSetProfile)

Move Method

Changes the order of data set profiles.

Move ( 
    nIndexTo,   
    nIndexFrom  
    )

Refresh Method

Refreshes collection.

Refresh ()

Remove Method

Deletes a deta set profile, specified by index or data set name pattern.

Remove (
    varIndex
    )

...

Back to top