ZosPackageComponentFile
The ZosPackageComponentFile object represents a component in a package, and can be either a PDS member or a Unix file. This object can be obtained using the GetComponent or GetComponents methods of either ZosPackage or ZosPackageLibrary.
ZosPackageComponentFile Properties
ZosPackageComponentFile exposes the following properties:
| Property | Type | R/W | Description | 
|---|---|---|---|
| Name | String | R | File name for component, including file extension. Inherited from ZosPackageComponentObject | 
| Path | String | R | Full file system path name for the component. Inherited from ZosPackageComponentObject | 
| IsUnix | Boolean | R | Indicates whether component is a PDS member or Unix file. | 
| OriginalName | String | R | Original name (from development). | 
| ComponentName | String | R | Component name. | 
| ComponentType | String | R | Component type (library type). | 
| Description | String | R/W | Component description | 
| LastWriteTime | DateTime | R | Date and time component was last updated. | 
| Version | Int16 | R | Version number. | 
| ModLevel | Int16 | R | Modification level. | 
| User | String | R | User ID who last updated the component. | 
| BuildProc | String | R | Build procedure. | 
| Status | ZosComponentStatus | R | Component status. | 
| LockStatus | ZosComponentLockStatus | R | Lock status. | 
| BuildType | ZosBuildType | R | Build type (normal, recompile, re-link). | 
...
ZosPackageComponentFile Methods
ZosPackageComponentFile exposes the following methods:
GetStagingVersions Method
Retrieves an array of the staging versions for this component.
ZosComponentStagingVersion[] GetStagingVersions()
Refresh Method
Refreshes the component information.
void  Refresh() 
...