import { AbstractSession , IHandlerParameters } from "@zowe/imperative" ; import { Delete , IDeleteDatasetOptions , IZosFilesResponse } from "@zowe/zos-files-for-zowe-sdk" ; import { ZosFilesBaseHandler } from "../../ZosFilesBase.handler" ; /**
 * Handler to delete a data set.
 */ export default class DsHandler extends ZosFilesBaseHandler { public async processWithSession ( commandParameters , session ) { const options = { } ; if ( commandParameters . arguments . volume ) { options . volume = commandParameters . arguments . volume ; } options . responseTimeout = commandParameters . arguments . responseTimeout ; return Delete . dataSet ( session , commandParameters . arguments . dataSetName , options ) ; } }