public class DatasetVolumeList
extends java.lang.Object
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)
Modifier and Type | Field and Description |
---|---|
static int |
BUF_LEN |
static int |
MAX_ENTRIES |
Constructor and Description |
---|
DatasetVolumeList() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int BUF_LEN
public static final int MAX_ENTRIES
public byte[] getBytes()
public int getTotalVolumesCount()
public int[] getDeviceTypes()
getTotalVolumesCount()
.getTotalVolumesCount()
public java.lang.String[] getVolumes()
getTotalVolumesCount()
.getTotalVolumesCount()
public java.lang.String getReturnedDSN()