zowe-cli icon indicating copy to clipboard operation
zowe-cli copied to clipboard

Create.ts API `cmdType`

Open JTonda opened this issue 6 years ago • 3 comments

From @dkelosky on July 20, 2018 17:50

On this API, :

    public static async dataSet(session: AbstractSession,
                                cmdType: CreateDataSetTypeEnum,
                                dataSetName: string,
                                options?: Partial<ICreateDataSetOptions>): Promise<IZosFilesResponse> {

cmdType should probably be dataSetType: image

However, if I include CreateDataSetTypeEnum and also dsorg in which appear to conflict (PARTITIONED type with dsorg: "PS"), it seems like my data set is not created. How are CreateDataSetType and dsorg intended to be used?

Copied from original issue: gizafoundation/brightside#158

JTonda avatar Oct 09 '18 20:10 JTonda

From @zFernand0 on August 23, 2018 15:59

The cmdType is more used to determine which set of default options to use from Create.defaults.ts.

Maybe we should add more information to the JSDoc comment to specify that it's used to determine what defaults will be used.

JTonda avatar Oct 09 '18 20:10 JTonda

From @zFernand0 on August 28, 2018 13:41

@dkelosky,

  1. Do you think we should add more information to the JSDoc comment?
  2. Based on the previous comment, should this really be tagged as a bug?

JTonda avatar Oct 09 '18 20:10 JTonda

Yes, we should add more info to the JSDoc comment. Removing bug label.

MikeBauerCA avatar Mar 03 '21 21:03 MikeBauerCA

Thank you for raising this issue. The community has 90 days to upvote 👍 the issue. If it receives 5 upvotes, we will move it to our backlog. If not, we will close it.

github-actions[bot] avatar Sep 07 '22 15:09 github-actions[bot]