public class MvsDataset extends MvsResource
Important note: This non-public API is likely to change in the future. Do not use.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_DCB_ERROR
the dataset attribute key for DCB error.
|
| Constructor and Description |
|---|
MvsDataset(java.lang.String pDatasetName,
DatasetAttributes pDatasetAttributes,
ISubSystem pSubSys)
Creates a new instance with the given
DatasetAttributes. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBrowse() |
boolean |
canEdit() |
IMvsDatasetMember |
createMember(java.lang.String pNewMemberName,
org.eclipse.core.runtime.IProgressMonitor pMon) |
java.lang.String |
delete(org.eclipse.core.runtime.IProgressMonitor pMonitor) |
void |
determineMissingAttributes()
Get the attributes primary quantity and directory blocks or data set type
from the host.
|
boolean |
existsChild(java.lang.String pMemberName) |
IMvsDatasetMember[] |
fetchChildren(org.eclipse.core.runtime.IProgressMonitor pMon) |
IMvsDatasetMember[] |
fetchChildren(java.lang.String pMemberFilter,
org.eclipse.core.runtime.IProgressMonitor pMon) |
java.util.List<IMvsDatasetMember> |
getChildren() |
DatasetAttributes |
getDataSetAttributes() |
IFileAttributes<?,?> |
getFileAttributes() |
java.lang.String |
getFullQualifiedName() |
IMvsDatasetMember |
getMemberByName(java.lang.String pMemberName) |
java.lang.String |
getMemberFilter() |
java.lang.String |
getName() |
java.lang.String |
getSuffix() |
boolean |
isAccessible()
Returns if the data set is accessible for the user (RACF)
|
boolean |
isDCBOk() |
boolean |
isHFSDataset() |
boolean |
isMigrated() |
boolean |
isNeitherSeqNorPartitioned()
Gets whether the data set is neither a sequential nor a partitioned data
set.
|
boolean |
isPartitioned() |
boolean |
isSequential() |
boolean |
memberExists(java.lang.String pDSN)
checks if the member with the given name already exists in this data set
|
void |
recall(ERecallMethod pRM,
org.eclipse.core.runtime.IProgressMonitor pMon) |
void |
refresh(org.eclipse.core.runtime.IProgressMonitor pMon) |
void |
rename(java.lang.String pNewDSN,
org.eclipse.core.runtime.IProgressMonitor pMonitor) |
void |
setAccessible(boolean pAccessible) |
void |
setDataSetAttributes(SimpleFileAttributes pAttributes) |
void |
setMemberFilter(java.lang.String pMemberFilter)
Sets the member filter
|
void |
setSuffix(java.lang.String pSuffix) |
getAbsoluteName, getContents, getSubSystem, getSystemImage, hasSuffix, save, unlockpublic static final java.lang.String ATTRIBUTE_DCB_ERROR
public MvsDataset(java.lang.String pDatasetName,
DatasetAttributes pDatasetAttributes,
ISubSystem pSubSys)
DatasetAttributes.pDatasetName - the data set namepDatasetAttributes - the data set attributespSubSys - the ISubSystem the data set belongs topublic DatasetAttributes getDataSetAttributes()
public boolean isSequential()
public boolean isPartitioned()
public boolean isNeitherSeqNorPartitioned()
true if both isSequential() and
isPartitioned() returns falsepublic void recall(ERecallMethod pRM, org.eclipse.core.runtime.IProgressMonitor pMon) throws ZExplorerException
ZExplorerExceptionpublic boolean isAccessible()
true if the data set is accessible,
false otherwise.public void setAccessible(boolean pAccessible)
public boolean isMigrated()
public java.lang.String delete(org.eclipse.core.runtime.IProgressMonitor pMonitor)
throws java.io.IOException
java.io.IOExceptionpublic void rename(java.lang.String pNewDSN,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
throws java.io.IOException
rename in class MvsResourcejava.io.IOExceptionpublic java.util.List<IMvsDatasetMember> getChildren()
public boolean existsChild(java.lang.String pMemberName)
public void determineMissingAttributes()
public IMvsDatasetMember createMember(java.lang.String pNewMemberName,
org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException,
ZExplorerException
java.io.IOExceptionZExplorerExceptionpublic IMvsDatasetMember getMemberByName(java.lang.String pMemberName)
public boolean isHFSDataset()
public void refresh(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException
refresh in class MvsResourcejava.io.IOExceptionpublic boolean isDCBOk()
public java.lang.String getName()
public boolean memberExists(java.lang.String pDSN)
throws java.lang.Exception
pDSN - member name to be checkedtrue if the member already exists,
false otherwisejava.lang.Exception - if any exception occurs during the host requestpublic IMvsDatasetMember[] fetchChildren(org.eclipse.core.runtime.IProgressMonitor pMon)
throws TaurusToolException
TaurusToolExceptionpublic IMvsDatasetMember[] fetchChildren(java.lang.String pMemberFilter,
org.eclipse.core.runtime.IProgressMonitor pMon)
throws TaurusToolException
TaurusToolExceptionpublic boolean canBrowse()
public boolean canEdit()
public java.lang.String getMemberFilter()
public void setMemberFilter(java.lang.String pMemberFilter)
pMemberFilter - the member filterpublic java.lang.String getFullQualifiedName()
public void setSuffix(java.lang.String pSuffix)
public java.lang.String getSuffix()
public void setDataSetAttributes(SimpleFileAttributes pAttributes)
public IFileAttributes<?,?> getFileAttributes()
Copyright © 2015 Micro Focus GmbH. All rights reserved.