import { AbstractSession , IHandlerParameters } from "@zowe/imperative" ; import { Create , CreateDataSetTypeEnum , IZosFilesResponse } from "@zowe/zos-files-for-zowe-sdk" ; import { ZosFilesBaseHandler } from "../../ZosFilesBase.handler" ; import { generateZosmfOptions } from "../Create.utils" ; /**
 * Handler to create a Binary-PDS data set
 */ export default class BinaryPDSHandler extends ZosFilesBaseHandler { public async processWithSession ( commandParameters , session ) { return Create . dataSet ( session , CreateDataSetTypeEnum . DATA_SET_BINARY , commandParameters . arguments . dataSetName , generateZosmfOptions ( commandParameters . arguments ) ) ; } }