|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jzos.DatasetVolumeList
public class DatasetVolumeList
A object which maps the 265-byte area returned by the LOCATE macro.
The underlying buffer also includes the 44-byte DSN, which is returned by the LOCATE macro, since under some circumstances this is updated by the call (input is an alias or GDG name).
ZFile.locateDSN(String, DatasetVolumeList)
Field Summary | |
---|---|
static int |
BUF_LEN
|
static int |
MAX_ENTRIES
|
Constructor Summary | |
---|---|
DatasetVolumeList()
|
Method Summary | |
---|---|
byte[] |
getBytes()
Answer the underlying byte array mapped by this object. |
int[] |
getDeviceTypes()
Answer an array of ints, each containing the 4-byte device type of the corresponding volume entry. |
java.lang.String |
getReturnedDSN()
Answer a String containing the DSN returned from the LOCATE macro. |
int |
getTotalVolumesCount()
Answer the total number of volume entries found in the catalog. |
java.lang.String[] |
getVolumes()
Answer a String array containing the volume serial numbers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BUF_LEN
public static final int MAX_ENTRIES
Constructor Detail |
---|
public DatasetVolumeList()
Method Detail |
---|
public byte[] getBytes()
public int getTotalVolumesCount()
public int[] getDeviceTypes()
getTotalVolumesCount()
.
getTotalVolumesCount()
public java.lang.String[] getVolumes()
getTotalVolumesCount()
.
getTotalVolumesCount()
public java.lang.String getReturnedDSN()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |