Interface IVSAMDataComponentCharacteristics
-
public interface IVSAMDataComponentCharacteristicsVSAM data component characteristics.Examples:
To retrieve VSAM data component characteristics:IVSAMClusterCharacteristics vsamClusterCharacteristics = ... // get the VSAM data component characteristics from the VSAM cluster // characteristics IVSAMDataComponentCharacteristics vsamDataComponentCharacteristics = vsamClusterCharacteristics .getDataComponentCharacteristics();For examples on how to retrieveIVSAMClusterCharacteristicsseeIVSAMClusterCharacteristics.
For examples on how to retrieveIVSAMDataComponentStatisticsseeIVSAMDataComponentStatistics.
For examples on how to retrieveIVSAMIndexComponentCharacteristicsseeIVSAMIndexComponentCharacteristics.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
IVSAMClusterCharacteristics.getDataComponentCharacteristics()- 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 AllocationUnitgetAllocationUnit()Returns the allocation unit of the associated VSAM component.intgetAverageRecordSize()Returns the average record size of the associated VSAM data component.intgetBufferSpace()Returns the amount of buffer space (in bytes) that the associated VSAM data component has.floatgetControlAreaPercentFreeSpace()Returns the percentage of free space in the control area (CA) of the associated VSAM data component.floatgetControlIntervalPercentFreeSpace()Returns the percentage of free space in the control interval (CI) of the associated VSAM data component.intgetControlIntervalSize()Returns the size of the control interval of the associated VSAM component.DeviceTypegetDeviceType()Returns the type of device on which the associated VSAM component resides.intgetExtentsAllocated()Returns the number of extents allocated to the associated VSAM component.longgetHighestAllocatedRBA()Returns the highest allocated relative byte address (RBA) in the associated VSAM component.longgetHighestUsedRBA()Returns the highest used relative byte address (RBA) in the associated VSAM component.intgetKeyLength()Returns the key length (in bytes) for the associated VSAM data component.intgetKeyPosition()Returns the position offset (relative to zero) of where the key area starts within the record for the associated VSAM data component.LoadOptiongetLoadOption()Returns the load option of the associated VSAM data component.intgetMaximumRecordSize()Returns the maximum record size of the associated VSAM data component.StringgetName()Returns the name of the associated VSAM component.intgetPrimaryUnitsAllocated()Returns the number of primary (first extent) units that are allocated to the associated VSAM component.intgetRegionShareOption()Returns the region share option for the associated VSAM component.intgetSecondaryUnitsAllocated()Returns the number of secondary units that are allocated to the associated VSAM component.IVSAMDataComponentStatisticsgetStatistics()Returns the statistics of the associated VSAM data component.intgetSystemShareOption()Returns the system share option for the associated VSAM component.StringgetVolume()Returns the volume on which the associated VSAM component resides.IVSAMClusterCharacteristicsgetVSAMClusterCharacterisitcs()Returns the associated VSAM cluster characteristics.booleanisClusterReusable()Returns whether the associated VSAM component's cluster is reusable.booleanisEraseOnDeleteEnabled()Returns whether records are erased after deletion for the associated VSAM data component.booleanisRecordSpanEnabled()Returns whether records can span control intervals for the associated VSAM data component.booleanisWriteCheckEnabled()Returns whether write checking is enabled for the associated VSAM component.
-
-
-
Method Detail
-
getVSAMClusterCharacterisitcs
IVSAMClusterCharacteristics getVSAMClusterCharacterisitcs()
Returns the associated VSAM cluster characteristics.- Returns:
- the VSAM cluster characteristics
- Since:
- 1.0.0
-
getName
String getName()
Returns the name of the associated VSAM component.- Returns:
- the VSAM component name
- Since:
- 1.0.0
-
getVolume
String getVolume()
Returns the volume on which the associated VSAM component resides.- Returns:
- the volume
- Since:
- 1.0.0
-
getDeviceType
DeviceType getDeviceType()
Returns the type of device on which the associated VSAM component resides.- Returns:
- the device type
- Since:
- 1.0.0
-
getAllocationUnit
AllocationUnit getAllocationUnit()
Returns the allocation unit of the associated VSAM component.- Returns:
- the allocation unit
- Since:
- 1.0.0
-
getPrimaryUnitsAllocated
int getPrimaryUnitsAllocated()
Returns the number of primary (first extent) units that are allocated to the associated VSAM component.- Returns:
- the number of primary units allocated
- Since:
- 1.0.0
-
getSecondaryUnitsAllocated
int getSecondaryUnitsAllocated()
Returns the number of secondary units that are allocated to the associated VSAM component.- Returns:
- the number of secondary units allocated
- Since:
- 1.0.0
-
getControlIntervalSize
int getControlIntervalSize()
Returns the size of the control interval of the associated VSAM component.- Returns:
- the control interval size
- Since:
- 1.0.0
-
isClusterReusable
boolean isClusterReusable()
Returns whether the associated VSAM component's cluster is reusable.- Returns:
trueif the associated VSAM component's cluster is reusable,falseotherwise- Since:
- 1.0.0
-
isWriteCheckEnabled
boolean isWriteCheckEnabled()
Returns whether write checking is enabled for the associated VSAM component.- Returns:
trueif write checking is enabled,falseotherwise- Since:
- 1.0.0
-
getRegionShareOption
int getRegionShareOption()
Returns the region share option for the associated VSAM component.- Returns:
- the region share option
- Since:
- 1.0.0
-
getSystemShareOption
int getSystemShareOption()
Returns the system share option for the associated VSAM component.- Returns:
- the system share option
- Since:
- 1.0.0
-
getExtentsAllocated
int getExtentsAllocated()
Returns the number of extents allocated to the associated VSAM component.- Returns:
- the number of extents allocated
- Since:
- 1.0.0
-
getHighestAllocatedRBA
long getHighestAllocatedRBA()
Returns the highest allocated relative byte address (RBA) in the associated VSAM component.- Returns:
- the highest allocated RBA
- Since:
- 1.0.0
-
getHighestUsedRBA
long getHighestUsedRBA()
Returns the highest used relative byte address (RBA) in the associated VSAM component.- Returns:
- the highest used RBA
- Since:
- 1.0.0
-
getAverageRecordSize
int getAverageRecordSize()
Returns the average record size of the associated VSAM data component.-1 will be returned if the associated VSAM cluster had an organization type of
VSAMOrganization.LINEAR- Returns:
- the average record size or
-1 - Since:
- 1.0.0
-
getMaximumRecordSize
int getMaximumRecordSize()
Returns the maximum record size of the associated VSAM data component.-1 will be returned if the associated VSAM cluster had an organization type of
VSAMOrganization.LINEAR- Returns:
- the maximum record size or
-1 - Since:
- 1.0.0
-
getBufferSpace
int getBufferSpace()
Returns the amount of buffer space (in bytes) that the associated VSAM data component has.- Returns:
- the number of bytes of buffer space
- Since:
- 1.0.0
-
getKeyPosition
int getKeyPosition()
Returns the position offset (relative to zero) of where the key area starts within the record for the associated VSAM data component.-1 will be returned if the associated VSAM cluster had an organization type of
VSAMOrganization.LINEAR- Returns:
- the key position or
-1 - Since:
- 1.0.0
-
getKeyLength
int getKeyLength()
Returns the key length (in bytes) for the associated VSAM data component.-1 will be returned if the associated VSAM cluster had an organization type of
VSAMOrganization.LINEAR- Returns:
- the key length or
-1 - Since:
- 1.0.0
-
isEraseOnDeleteEnabled
boolean isEraseOnDeleteEnabled()
Returns whether records are erased after deletion for the associated VSAM data component.- Returns:
trueif erase on delete is enabled,falseotherwise- Since:
- 1.0.0
-
getLoadOption
LoadOption getLoadOption()
Returns the load option of the associated VSAM data component.- Returns:
- the load option
- Since:
- 1.0.0
-
isRecordSpanEnabled
boolean isRecordSpanEnabled()
Returns whether records can span control intervals for the associated VSAM data component.falsewill be returned if the associated VSAM cluster had an organization type ofVSAMOrganization.LINEAR- Returns:
trueif records can span control intervals,falseotherwise- Since:
- 1.0.0
-
getControlIntervalPercentFreeSpace
float getControlIntervalPercentFreeSpace()
Returns the percentage of free space in the control interval (CI) of the associated VSAM data component.- Returns:
- the percentage of CI free space
- Since:
- 1.0.0
-
getControlAreaPercentFreeSpace
float getControlAreaPercentFreeSpace()
Returns the percentage of free space in the control area (CA) of the associated VSAM data component.- Returns:
- the percentage of CA free space
- Since:
- 1.0.0
-
getStatistics
IVSAMDataComponentStatistics getStatistics()
Returns the statistics of the associated VSAM data component.- Returns:
- the VSAM data component statistics
- Since:
- 1.0.0
-
-