writeDsn

fun writeDsn(dataSetName: String, content: ByteArray): Response<*>

Replaces the content of an existing sequential data set with new content.

Return

http response object

Parameters

dataSetName

sequential dataset (e.g. 'DATASET.LIB')

content

new content

Throws

error processing request


fun writeDsn(dataSetName: String, member: String, content: ByteArray): Response<*>

Replaces the content of a member of a partitioned data set (PDS or PDSE) with new content. A new dataset member will be created if the specified dataset member does not exist.

Return

http response object

Parameters

dataSetName

dataset name of where the member is located (e.g. 'DATASET.LIB')

member

name of member to add new content

content

new content

Throws

error processing request