ZosBaselineLibrary
The ZosBaselineLibrary object represents a ChangeMan baseline library for an application. This object can be obtained using the GetBaselineLibrary or GetBaselineLibraries methods of ZosApplication.
ZosBaselineLibrary Properties
ZosBaselineLibrary exposes the following properties:
| Property | Type | R/W | Description | 
|---|---|---|---|
| Name | String | R | Library type name | 
| Path | String | R | Full file system path name for the library | 
| Description | String | R | Library description | 
| IsUnix | Boolean | R | Indicates whether a library is a PDS or Unix directory | 
| DataSetName | String | R | Data set name for the library | 
| TargetLibrary | String | R | Target build library | 
| LikeType | ZosLikeType | R | Like library type option | 
| StagingVersSaveOption | ZosStagingVersSaveOption | R | Staging version save option | 
| DeferredAllocation | Boolean | R | Indicates whether allocations are deferred | 
| DataSetType | ZosDataSetType | R | Data set type (organization) | 
| RecordFormat | ZosRecordFormat | R | Record format | 
| RecordLength | Int16 | R | Record length | 
| BlockSize | Int16 | R | Block size | 
| SpaceUnit | ZosSpaceUnit | R | Space unit type | 
| PrimarySpace | Int32 | R | Primary space quantity | 
| SecondarySpace | Int32 | R | Secondary space quantity | 
| DirectoryBlocks | Int32 | R | Number of directory blocks | 
| UnitName | String | R | Unit name | 
| Volume | String | R | Volume serial number | 
ZosBaselineLibrary Methods
ZosBaselineLibrary exposes the following methods:
GetPdsComponent Method
Gets a single component of a baseline PDS library by name. Component name can be specified with or without an extension.
ZosPdsMember  GetPdsComponent(  
        String name  
        )
GetPdsComponents Method
Gets an array of components that belong to a baseline PDS library. The list can optionally be filtered by component name.
Overloads
GetPdsComponents()
ZosPdsMember[]  GetPdsComponents() 
...
GetPdsComponents(String)
ZosPdsMember[]  GetPdsComponents(  
        String nameFilter  
        )
...
GetPdsComponents(DateTime)
ZosPdsMember[]  GetPdsComponents(  
        DateTime changeTime  
        )
...
GetPdsComponents(String, DateTime)
ZosPdsMember[]  GetPdsComponents(  
        String nameFilter,  
        DateTime changeTime  
        )
...
Parameters
nameFilter - Component name filter (pattern) 
changeTime - A DateTime time. This method gets components changed after the specified time. 
GetUnixComponent Method
Gets a single component of a baseline Unix library by file name.
ZosUnixObject[]  GetUnixComponent( String name  )  
GetUnixComponents Method
Gets an array of components that belong to a baseline Unix library. The list can optionally be filtered by component name. For Unix libraries, components are retrieved hierarchically. This function only returns components in a specified subdirectory. The array returned contains both directory and file objects.
Overloads
GetUnixComponents()
ZosUnixObject[]  GetUnixComponents()
...
GetUnixComponents(DateTime)
GetUnixComponents(
        DateTime changeTime
        )
...
GetUnixComponents(String)
ZosUnixObject[]  GetUnixComponents(
        String dirName
        ) 
...
GetUnixComponents(String, String)
ZosUnixObject[]  GetUnixComponents(
        String dirName, 
        String nameFilter
        ) 
...
GetUnixComponents(String, String, DateTime)
ZosUnixObject[]  GetUnixComponents(  
        String dirName,  
        String nameFilter,  
        DateTime changeTime  
        )
...
Parameters
dirName - Subdirectory name 
nameFilter - Component name filter (pattern) 
changeTime - A DateTime time. This method gets components changed after the specified time. 
Refresh Method
Refreshes the library information.
void  Refresh()