Describe the bug
Issue the command: zowe zos-files create data-set "example.data.set" --dst pds --dt 3390 --db 15 --rf fb --rl 80 --sz 25trk --sc tso
Expected and actual results
Expected: the command would work or give a clear error about misconfigured options
Actual:
Unable to perform this operation due to the following problem:
Cannot read properties of undefined (reading 'startsWith')
Not sure if we should be defaulting a value to dsorg here but at least the command should have a better error if the options are invalid
Adding a quick debug log to investigate: I see this :
case "dirblk":
// Validate non-zero if dsorg starts with "PS"
console.log("todo: tempOptions dsorg: " + tempOptions.dsorg);
Prints:
todo: tempOptions dsorg: undefined
Describe your environment
CLI Version: 8.36.1
Zowe Release Version: v3.6.0
Additional context
Describe the bug
Issue the command:
zowe zos-files create data-set "example.data.set" --dst pds --dt 3390 --db 15 --rf fb --rl 80 --sz 25trk --sc tsoExpected and actual results
Expected: the command would work or give a clear error about misconfigured options
Actual:
Unable to perform this operation due to the following problem:
Cannot read properties of undefined (reading 'startsWith')
Not sure if we should be defaulting a value to dsorg here but at least the command should have a better error if the options are invalid
Adding a quick debug log to investigate: I see this :
Prints:
Describe your environment
CLI Version: 8.36.1
Zowe Release Version: v3.6.0
Additional context