zowe-cli
zowe-cli copied to clipboard
Create.ts API `cmdType`
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
:
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
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.
From @zFernand0 on August 28, 2018 13:41
@dkelosky,
- Do you think we should add more information to the JSDoc comment?
- Based on the previous comment, should this really be tagged as a bug?
Yes, we should add more info to the JSDoc comment. Removing bug label.
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.