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

Download all-members replaces special characters #2315

Open
Morora69 opened this issue Oct 21, 2024 · 1 comment
Open

Download all-members replaces special characters #2315

Morora69 opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working research We need to learn more about a topic or problem before addressing it.

Comments

@Morora69
Copy link

Describe the bug

Hi,

I am using Zowe cli to download all members from multiple PDS one by one via Z/OS MF.
All of the PDS names are hardcoded in a script.
Some of the members of these PDS contain special characters (such as 'é' and '°').

The issue is that I download the members every night in a folder that is created before the download happens (and therefore clean).
Randomly, on some 1 or 2 lines in very few files (3 out of 1500), the special characters are downloaded as unknown characters and the next day they'll be downloaded fine.

The files impacted are not always the same but some come more frequently than others.
We've cheked that the files are correct on the mainframe and it is the case, no difference with these characters than the others on the rest of the file.
I tried to open the files on different text editors to try and change the charset to see if it would make a difference and it is not the case.

Expected and actual results

Details about the behavior:

  1. Command issued: zowe zos-files download all-members $SourcePDS -d $DestinationFolder --extenstion $Extension (where extension is .cbl or .bms) --encoding IBM-1147 (Yes, it's the right one on our config) --host $ZOSMFHost --port $ZOSMFPort --user $user --pass $pwd
  2. Expected results: The file as it is on the mainframe with all special characters fine for example :
    "PROCESSING TABLE N° 168"
  3. Actual results:
    "PROCESSING TABLE N?? 168" where the '?' are the unrecognized char symbol.

Describe your environment

  • Zowe CLI version installed (run command zowe --version): 7.20.1
  • Installed plug-ins and their version numbers (run command zowe plugins list --short): No plugins
  • Node.js and NPM versions installed (run node --version, npm --version): v20.11.1
  • Operating system and version: Windows Server 2019
  • Shell/terminal (bash, cmd, powershell, etc...): Powershell
  • For more information, see Gathering information to troubleshoot Zowe CLI

I'd be happy to give more details if needed or help in any way.
Thanks !

@Morora69 Morora69 added bug Something isn't working new The issue wasn't triaged yet labels Oct 21, 2024
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 research We need to learn more about a topic or problem before addressing it. and removed new The issue wasn't triaged yet labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working research We need to learn more about a topic or problem before addressing it.
Projects
Status: New Issues
Development

No branches or pull requests

3 participants