Class DsnCreate
- java.lang.Object
-
- zowe.client.sdk.zosfiles.dsn.methods.DsnCreate
-
public class DsnCreate extends Object
Provides create dataset and member functionality- Version:
- 5.0
- Author:
- Leonid Baranov, Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description DsnCreate(ZosConnection connection)DsnCreate Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsecreate(String dataSetName, DsnCreateInputData createInputData)Creates a new dataset with specified parameters
-
-
-
Constructor Detail
-
DsnCreate
public DsnCreate(ZosConnection connection)
DsnCreate Constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
create
public Response create(String dataSetName, DsnCreateInputData createInputData) throws ZosmfRequestException
Creates a new dataset with specified parameters- Parameters:
dataSetName- name of a dataset to create (e.g. 'DATASET.LIB')createInputData- to create dataset parameters, see DsnCreateInputData object- Returns:
- http response object
- Throws:
ZosmfRequestException- request error state
-
-