Skip to content

ZosPackageComponentObject

ZosPackageComponentObject represents a file system object in a package library. This object can be a PDS member, Unix directory, or Unix file.

ZosPackageComponentObject is the base class for the ZosPackageComponentFile and the ZosPackageComponentDirectory classes. The IsDirectory property indicates whether the ZosPackageComponentObject is actually a ZosPackageComponentDirectory or a ZosPackageComponentFile object.

This object can be obtained using the GetComponents method of ZosPackageLibrary.

ZosPackageComponentObject Properties

ZosPackageComponentObject exposes the following properties:

Property Type R/W Description
Name String R File name for component, including file extension.
Path String R Full file system path name for the component.
IsDirectory Boolean R Indicates whether the object is a directory.
IsUnix Boolean R Indicates whether the object is a Unix file system object or PDS member.

...

Back to top