Skip to content

ZosPrefixMappings

The ZosPrefixMappings object is a collection of all data set name prefix definitions for a folder. This object is obtained using the Prefixes property of the ZosDataSetFolder object.

ZosPrefixMappings Properties

ZosPrefixMappings exposes the following properties:

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

ZosPrefixMappings Methods

ZosPrefixMappings exposes the following methods:

Refresh Method

Refreshes collection.

Refresh()

...

Add Method

Adds a new prefix definition. Index indicates position for new item. Specify –1 to insert at end.

Add ( nIndex, strDataSetName,  strFileExtension  )

Returns

Object (
    IZosPrefixMapping
    )

Remove Method

Deletes a prefix definition, specified by index or data set name pattern.

Remove(
    varIndex
    ) 

Move Method

Changes the order of prefix definitions.

Move ( 
    nIndexTo,  
    nIndexFrom  
    ) 
Back to top