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

copyPds: Misssing source PDS throws a non-user-friendly error #2447

Open
zFernand0 opened this issue Feb 26, 2025 · 1 comment
Open

copyPds: Misssing source PDS throws a non-user-friendly error #2447

zFernand0 opened this issue Feb 26, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@zFernand0
Copy link
Member

Found this issue while testing, but this also on the master branch

> zdev files copy ds DS.DOES.NOT.EXIST fernando.test.pds.small      [±truncate-lrecl-target ✓(✹)]
Unable to perform this operation due to the following problem.
Cannot read properties of undefined (reading 'dsorg')

Response From Service
TypeError: Cannot read properties of undefined (reading 'dsorg')

I believe we will need to handle missing datasets in the isPDS function, and maybe fail a bit more gracefully 🙏
image

Originally posted by @zFernand0 in #2433 (comment)

@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Feb 26, 2025
@zFernand0 zFernand0 added the bug Something isn't working label Feb 26, 2025
Copy link

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
Projects
Status: New Issues
Development

No branches or pull requests

2 participants