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

Encoding not honored for spool files #3172

Open
VitGottwald opened this issue Oct 3, 2024 · 2 comments
Open

Encoding not honored for spool files #3172

VitGottwald opened this issue Oct 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@VitGottwald
Copy link
Contributor

Describe the bug

When I specify encoding in my z/OSMF profile it is honored for dataset retrieval/upload but not for spool file retrieval.

This is most likely because the following call does not take encoding into account

await ZoweExplorerApiRegister.getJesApi(job.getProfile()).downloadSpoolContent({

To Reproduce

  1. Set encoding in zosmf profle to ibm278
  2. Create a PDS member containing a nordic national character like Ö
  3. Print it to spool - e.g. via IEBGENER
  4. Open the PDS member and see Ö
  5. Open the spool file and see @

Expected behavior
Encoding from zosmf profile is honored both for dataset and spool operations.

@VitGottwald VitGottwald added the bug Something isn't working label Oct 3, 2024
Copy link

github-actions bot commented Oct 3, 2024

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.

@VitGottwald
Copy link
Contributor Author

The situation that I ran into this was when looking at a listing of a COBOL program that uses a nordic encoding.

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

1 participant