Package zowe.client.sdk.zosfiles
Class ZosDsnList
- java.lang.Object
-
- zowe.client.sdk.zosfiles.ZosDsnList
-
public class ZosDsnList extends Object
ZosDsnList class that provides Dataset member list function- Version:
- 1.0
- Author:
- Nikunj Goyal
-
-
Constructor Summary
Constructors Constructor Description ZosDsnList(ZOSConnection connection)ZosDsnList constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dataset>listDsn(String dataSetName, ListParams params)Get a list of Dataset namesList<String>listDsnMembers(String dataSetName, ListParams params)Get a list of members from a Dataset
-
-
-
Constructor Detail
-
ZosDsnList
public ZosDsnList(ZOSConnection connection)
ZosDsnList constructor- Parameters:
connection- connection information, see ZOSConnection object
-
-
Method Detail
-
listDsnMembers
public List<String> listDsnMembers(String dataSetName, ListParams params) throws Exception
Get a list of members from a Dataset- Parameters:
dataSetName- name of a dataset (e.g. 'DATASET.LIB')params- list parameters, see ListParams object- Returns:
- list of member names
- Throws:
Exception- error processing request
-
listDsn
public List<Dataset> listDsn(String dataSetName, ListParams params) throws Exception
Get a list of Dataset names- Parameters:
dataSetName- name of a dataset (e.g. 'DATASET.LIB')params- list parameters, see ListParams object- Returns:
- A String list of Dataset names
- Throws:
Exception- error processing request
-
-