|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSetCharacteristics
A DataSetCharacteristics holds various characteristics of
a z/OS data set and provides accessor methods for the characteristics.
A DataSetCharacteristics instance containing information about
the data set can be obtained from a ZOSDataSet. One can also create
a new instance using ZosphysicalFactory.createDataSetCharacteristics()
and use it to set the data set characteristics of a ZOSDataSet
to be allocated.
ZOSDataSet.getCharacteristics(),
ZOSDataSet.setCharacteristics(DataSetCharacteristics),
ZosphysicalFactory.createDataSetCharacteristics()| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
int |
getBlockSize()
Returns the block size. |
String |
getDataClass()
Returns the data class. |
int |
getDirectoryBlocks()
Returns the directory blocks. |
DataSetType |
getDSNType()
Returns the data set type. |
String |
getDSOrg()
Returns the data set organization. |
Date |
getExpirationDate()
Returns the expiration date. |
String |
getGenericUnit()
Returns the generic unit. |
String |
getManagementClass()
Returns the management class. |
int |
getPrimaryQuantity()
Returns the primary allocation. |
RecordFormat |
getRecordFormat()
Returns the record format. |
int |
getRecordLength()
Returns the record length. |
int |
getSecondaryQuantity()
the primary allocation to set to the data set. |
SpaceUnits |
getSpaceUnits()
Returns the space units. |
String |
getStorageClass()
Returns the storage class. |
String |
getVolumeSerial()
Returns the volume serial. |
void |
setBlockSize(int value)
Sets the block size. |
void |
setDataClass(String value)
Sets the data class. |
void |
setDirectoryBlocks(int value)
Sets the directory blocks. |
void |
setDSNType(DataSetType value)
Sets the data set type. |
void |
setDSOrg(String value)
Sets the data set organization. |
void |
setExpirationDate(Date value)
Sets the expiration date. |
void |
setGenericUnit(String value)
Sets the generic unit. |
void |
setManagementClass(String value)
Sets the management class. |
void |
setPrimaryQuantity(int value)
Sets the primary allocation. |
void |
setRecordFormat(RecordFormat value)
Sets the record format. |
void |
setRecordLength(int value)
Sets the record length. |
void |
setSecondaryQuantity(int value)
Sets the secondary allocation. |
void |
setSpaceUnits(SpaceUnits value)
Sets the space units. |
void |
setStorageClass(String value)
Sets the storage class. |
void |
setVolumeSerial(String value)
Sets the volume serial. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
String getVolumeSerial()
setVolumeSerial(String)void setVolumeSerial(String value)
value - a string representing the volume serial of the data setString getGenericUnit()
setGenericUnit(String)void setGenericUnit(String value)
value - a string representing the generic unit of the data setgetGenericUnit()SpaceUnits getSpaceUnits()
setSpaceUnits(SpaceUnits)void setSpaceUnits(SpaceUnits value)
value - a space unit object that represents blocks, tracks or
cylinderssetSpaceUnits(SpaceUnits)int getPrimaryQuantity()
setPrimaryQuantity(int)void setPrimaryQuantity(int value)
value - the primary allocation to set to the data setint getSecondaryQuantity()
setSecondaryQuantity(int)void setSecondaryQuantity(int value)
value - the secondary allocation to set to the data setgetPrimaryQuantity()int getDirectoryBlocks()
setDirectoryBlocks(int)void setDirectoryBlocks(int value)
Directory blocks should be 0 for sequential data sets.
value - the directory blocks value to set to the data setsetDirectoryBlocks(int)RecordFormat getRecordFormat()
FB,
F, VB, etc.setRecordFormat(RecordFormat)void setRecordFormat(RecordFormat value)
value - a record format object that represents FB,
F, VB, etc.getRecordFormat()int getRecordLength()
setRecordLength(int)void setRecordLength(int value)
value - the record length value to set to the data setgetRecordLength()int getBlockSize()
setBlockSize(int)void setBlockSize(int value)
value - the block size value to set to the data setgetBlockSize()String getDSOrg()
setDSOrg(String)void setDSOrg(String value)
value - a string representing the data set organization,
can be either "PS" or "PO"getDSOrg()Date getExpirationDate()
setExpirationDate(Date)void setExpirationDate(Date value)
value - a date object that represents the expiration date of the
data setgetExpirationDate()void setDSNType(DataSetType value)
value - a data set type object that represents PDS, PDSE, etc.getDSNType()DataSetType getDSNType()
setDSNType(DataSetType)void setManagementClass(String value)
value - a string that represents the management class of the
data setgetManagementClass()String getManagementClass()
setManagementClass(String)void setStorageClass(String value)
value - a string that represents the storage class of the data setgetStorageClass()String getStorageClass()
setStorageClass(String)void setDataClass(String value)
value - a string that represents the data class of the data setgetDataClass()String getDataClass()
setDataClass(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||