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 abovecatch
blocks can be replaced with a singlecatch
block onHostResourceException
.)For examples on how to retrieve
IVSAMDataComponentCharacteristics
seeIVSAMDataComponentCharacteristics
.
For examples on how to retrieveIVSAMIndexComponentCharacteristics
seeIVSAMIndexComponentCharacteristics
.
For examples on how to retrieve genericIDataSetCharacteristics
seeIDataSetCharacteristics
.
For examples of how to retrieveIVSAMCluster
s 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 String
getCatalog()
Returns the catalog that contains the associated VSAM cluster.String
getDataClass()
Returns the data class of the associated VSAM cluster.IVSAMDataComponentCharacteristics
getDataComponentCharacteristics()
Returns the VSAM data component characteristics of the associated VSAM cluster.IVSAMCluster
getDataSet()
Returns the associated dataset.IVSAMIndexComponentCharacteristics
getIndexComponentCharacteristics()
Returns the VSAM index component characteristics of the associated VSAM cluster.String
getOwnerID()
Returns the ID of the owner of the associated VSAM cluster.boolean
hasIndexComponent()
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:
getDataSet
in 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:
true
if an index component exists,false
otherwise- 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()
-
-