|
||||||||||
| 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()
DataSetCharacteristics.setVolumeSerial(String)void setVolumeSerial(String value)
value - a string representing the volume serial of the data setString getGenericUnit()
DataSetCharacteristics.setGenericUnit(String)void setGenericUnit(String value)
value - a string representing the generic unit of the data setDataSetCharacteristics.getGenericUnit()SpaceUnits getSpaceUnits()
DataSetCharacteristics.setSpaceUnits(SpaceUnits)void setSpaceUnits(SpaceUnits value)
value - a space unit object that represents blocks, tracks or
cylindersDataSetCharacteristics.setSpaceUnits(SpaceUnits)int getPrimaryQuantity()
DataSetCharacteristics.setPrimaryQuantity(int)void setPrimaryQuantity(int value)
value - the primary allocation to set to the data setint getSecondaryQuantity()
DataSetCharacteristics.setSecondaryQuantity(int)void setSecondaryQuantity(int value)
value - the secondary allocation to set to the data setDataSetCharacteristics.getPrimaryQuantity()int getDirectoryBlocks()
DataSetCharacteristics.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 setDataSetCharacteristics.setDirectoryBlocks(int)RecordFormat getRecordFormat()
FB,
F, VB, etc.DataSetCharacteristics.setRecordFormat(RecordFormat)void setRecordFormat(RecordFormat value)
value - a record format object that represents FB,
F, VB, etc.DataSetCharacteristics.getRecordFormat()int getRecordLength()
DataSetCharacteristics.setRecordLength(int)void setRecordLength(int value)
value - the record length value to set to the data setDataSetCharacteristics.getRecordLength()int getBlockSize()
DataSetCharacteristics.setBlockSize(int)void setBlockSize(int value)
value - the block size value to set to the data setDataSetCharacteristics.getBlockSize()String getDSOrg()
DataSetCharacteristics.setDSOrg(String)void setDSOrg(String value)
value - a string representing the data set organization,
can be either "PS" or "PO"DataSetCharacteristics.getDSOrg()Date getExpirationDate()
DataSetCharacteristics.setExpirationDate(Date)void setExpirationDate(Date value)
value - a date object that represents the expiration date of the
data setDataSetCharacteristics.getExpirationDate()void setDSNType(DataSetType value)
value - a data set type object that represents PDS, PDSE, etc.DataSetCharacteristics.getDSNType()DataSetType getDSNType()
DataSetCharacteristics.setDSNType(DataSetType)void setManagementClass(String value)
value - a string that represents the management class of the
data setDataSetCharacteristics.getManagementClass()String getManagementClass()
DataSetCharacteristics.setManagementClass(String)void setStorageClass(String value)
value - a string that represents the storage class of the data setDataSetCharacteristics.getStorageClass()String getStorageClass()
DataSetCharacteristics.setStorageClass(String)void setDataClass(String value)
value - a string that represents the data class of the data setDataSetCharacteristics.getDataClass()String getDataClass()
DataSetCharacteristics.setDataClass(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||