Obtaining a Data set Command Provider


In order to obtain one or more data sets, a data set command provider must first be obtained. To obtain a data set command provider:

IZOSHostConnection zosHostConnection = ...

// get the dataset command provider from a z/OS host connection
// note: the command provider will only be usable while the z/OS host
// connection is connected to its z/OS host
IDataSetCommandProvider commandProvider = zosHostConnection
        .getDataSetCommandProvider();