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

Regression-7.4.1 : download data-set-matching option -d does not preserve upper case #1722

Closed
Tracked by #1809
NicolasGaudinPresta opened this issue May 25, 2023 · 4 comments
Labels
bug Something isn't working priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases

Comments

@NicolasGaudinPresta
Copy link

NicolasGaudinPresta commented May 25, 2023

Shell script

Here a command-log from my shell script, using 7.4.1 (not tested with newer release, working with 7.4.0) :

+ dr=/tmp/tmp.y3NkzRQda5
+ zowe zos-files download data-set-matching ''\''HLQ.PROJECT.**.CSV'\''' -d /tmp/tmp.y3NkzRQda5
+ ls -la /tmp
+ cat '/tmp/tmp.y3NkzRQda5/*'

stderr

cat: '/tmp/tmp.y3NkzRQda5/*': No such file or directory

stdout

160 data set(s) were found matching pattern.
160 data set(s) downloaded successfully to /tmp/tmp.y3NkzRQda5

total 14484
drwxrwxrwt. 1 root       root      115 May 25 14:21 .
dr-xr-xr-x. 1 root       root       40 May 25 14:19 ..
...
drwxr-xr-x. 2 1001600000 root    12288 May 25 14:21 tmp.y3nkzrqda5
drwx------. 2 1001600000 root        6 May 25 14:21 tmp.y3NkzRQda5

From this it is obvious that Zowe has donwloaded all files in tmp.y3nkzrqda5 and not tmp.y3NkzRQda5 as required.

@NicolasGaudinPresta NicolasGaudinPresta added bug Something isn't working new The issue wasn't triaged yet labels May 25, 2023
@github-actions
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.

@JTonda JTonda added priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases and removed new The issue wasn't triaged yet labels Jun 5, 2023
@adam-wolfe adam-wolfe mentioned this issue Jun 29, 2023
19 tasks
@ATorrise
Copy link
Contributor

ATorrise commented Aug 1, 2023

@NicolasGaudinPresta After testing in both WSL (ubuntu) and Windows I was unable to reproduce this error for both the latest version of the CLI (7.17.0) and version 7.4.1. Have you since upgraded to our LTS version? If so are you still encountering this problem? If yes, what OS are you working with?

If this is no longer an issue, I think it would be best to close this issue as I've been unable to reproduce this and have had my efforts confirmed by @t1m0thyj

@adam-wolfe
Copy link
Contributor

I have been able to reproduce this under OpenSUSE with the current version of Zowe CLI.

It seems like sequential data sets will be sent to the lowercase directory and PDSs and members end up in the mixed-case directory.

@adam-wolfe adam-wolfe mentioned this issue Oct 24, 2023
20 tasks
@awharn awharn mentioned this issue Oct 26, 2023
4 tasks
zFernand0 added a commit that referenced this issue Oct 27, 2023
@adam-wolfe
Copy link
Contributor

This issue should be resolved as of Zowe CLI 7.18.9.

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-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Projects
None yet
Development

No branches or pull requests

4 participants