Interface IVSAMClusterCharacteristics
-
- All Superinterfaces:
IDataSetCharacteristics
public interface IVSAMClusterCharacteristics extends IDataSetCharacteristics
VSAM cluster characteristics.The state of this VSAM cluster characteristics is a snapshot of these characteristics from the time they were retrieved from the VSAM cluster. In order to retrieve the current state of these characteristics, they will need to be re-retrieved from the VSAM cluster.
Examples:
To retrieve VSAM cluster characteristics:IVSAMCluster vsamCluster = ... try { // fetch the VSAM cluster characteristics from the VSAM cluster IVSAMClusterCharacteristics vsamClusterCharacteristics = vsamCluster .fetchCharacteristics(); ... } catch (DataSetAccessException e) { // the user does not have access to this VSAM cluster ... } catch (DataSetInUseException e) { // the VSAM cluster is enqueued by another user or job ... } catch (DataSetMigratedException e) { // the VSAM cluster has been migrated since it was first retrieved ... } catch (DataSetNotFoundException e) { // the VSAM cluster can no longer be found ... }(Note: the abovecatchblocks can be replaced with a singlecatchblock onHostResourceException.)For examples on how to retrieve
IVSAMDataComponentCharacteristicsseeIVSAMDataComponentCharacteristics.
For examples on how to retrieveIVSAMIndexComponentCharacteristicsseeIVSAMIndexComponentCharacteristics.
For examples on how to retrieve genericIDataSetCharacteristicsseeIDataSetCharacteristics.
For examples of how to retrieveIVSAMClusters seeIVSAMCluster.- Since:
- 1.0.0
- Version:
- 2.0.0
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCatalog()Returns the catalog that contains the associated VSAM cluster.StringgetDataClass()Returns the data class of the associated VSAM cluster.IVSAMDataComponentCharacteristicsgetDataComponentCharacteristics()Returns the VSAM data component characteristics of the associated VSAM cluster.IVSAMClustergetDataSet()Returns the associated dataset.IVSAMIndexComponentCharacteristicsgetIndexComponentCharacteristics()Returns the VSAM index component characteristics of the associated VSAM cluster.StringgetOwnerID()Returns the ID of the owner of the associated VSAM cluster.booleanhasIndexComponent()Returns whether the associated VSAM cluster has an index component.-
Methods inherited from interface com.compuware.api.topaz.hostresources.zos.IDataSetCharacteristics
getCreationDate, getDataSetName, getExpirationDate, getManagementClass, getStorageClass
-
-
-
-
Method Detail
-
getDataSet
IVSAMCluster getDataSet()
Returns the associated dataset.- Specified by:
getDataSetin interfaceIDataSetCharacteristics- Returns:
- the VSAM cluster
- Since:
- 1.0.0
-
getCatalog
String getCatalog()
Returns the catalog that contains the associated VSAM cluster.- Returns:
- the catalog
- Since:
- 1.0.0
-
getOwnerID
String getOwnerID()
Returns the ID of the owner of the associated VSAM cluster.- Returns:
- the owner ID
- Since:
- 1.0.0
-
getDataClass
String getDataClass()
Returns the data class of the associated VSAM cluster.- Returns:
- the data class
- Since:
- 1.0.0
-
getDataComponentCharacteristics
IVSAMDataComponentCharacteristics getDataComponentCharacteristics()
Returns the VSAM data component characteristics of the associated VSAM cluster.- Returns:
- the VSAM data component characteristics
- Since:
- 1.0.0
-
hasIndexComponent
boolean hasIndexComponent()
Returns whether the associated VSAM cluster has an index component.- Returns:
trueif an index component exists,falseotherwise- Since:
- 1.0.0
- See Also:
getIndexComponentCharacteristics()
-
getIndexComponentCharacteristics
IVSAMIndexComponentCharacteristics getIndexComponentCharacteristics()
Returns the VSAM index component characteristics of the associated VSAM cluster.- Returns:
- the VSAM index component characteristics
- Throws:
IndexComponentNotFoundException- if the associated VSAM cluster does not have an index component- Since:
- 1.0.0
- See Also:
hasIndexComponent()
-
-