import { IDataSet } from "@zowe/zos-files-for-zowe-sdk" ; param { string } name export function getDataSet ( name ) { const match = name . match ( /(.*)\((.*)\)/ ) ; if ( match ) { const [ , dataSetName , memberName ] = match ; return { dataSetName , memberName } ; } else { return { dataSetName : name } ; } }