Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zowe files create ds always assume secondary space of 1 #1595

Closed
Tracked by #1671
zFernand0 opened this issue Jan 4, 2023 · 1 comment · Fixed by #1723
Closed
Tracked by #1671

zowe files create ds always assume secondary space of 1 #1595

zFernand0 opened this issue Jan 4, 2023 · 1 comment · Fixed by #1723
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Comments

@zFernand0
Copy link
Member

Describe the bug

Back when the --primary-space option was exposed for allocation purposes (#648 : 4a1fa10) it was assumed that there will always be a secondary size for any type of dataset, which was not a bad assumption at the time.

However, with the introduction of the BLANK type of dataset (#973 : 36a9eba), the previous assumption should've been rectified and a space allocation should have been required for BLANK dataset types.

The bug in question is that by running zowe files create ds IBMUSER.TESTDS --dst BASIC, the user creates a dataset with no space left, forcing an extent to be immediately used (See Primary and Secondary Space allocation without the Guaranteed Space Attribute for more info on Allocation Extent limits)

Expected and actual results

  • Command issued:
    zowe files create ds IBMUSER.TESTDS --dst BASIC
  • Expected results:
    Command Error: Missing Allocation Space
  • Actual results:
    The command assumed secondary space of 1

Describe your environment

  • Zowe CLI version installed (run command zowe --version): 7.9.4
@zFernand0 zFernand0 added bug Something isn't working new The issue wasn't triaged yet priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. and removed new The issue wasn't triaged yet labels Jan 4, 2023
@github-actions
Copy link

github-actions bot commented Jan 4, 2023

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant