zowe-cli icon indicating copy to clipboard operation
zowe-cli copied to clipboard

Question: How does `zowe jobs submit uss-file` handle encoding ?

Open zFernand0 opened this issue 2 years ago • 2 comments

Should it follow the same encoding practices as zowe files download uss-file ?

Originally asked during the Zowe System Demo on 06/20/2022)

zFernand0 avatar Jun 20 '22 18:06 zFernand0

Hi,

Yes, it should, both for submitting a job and for downloading outputs.

In addition, it is logical: when zowe zos-files download a JCL from the remote z/OS system, it is converted according to the encoding declared on the Zowe CLI profile. So when submitted, it must be converted back the other way by the zowe zos-jobs command, otherwise the result will be inconsistent, especially on sysins.

Note that this will introduce a change from using the 3270 terminal for those using a code page other than IBM-037.

For example, I use the IBM-1147 codepage in my 3270 terminal: I have to transcode certain characters such as the $ character which becomes the £ character in my terminal.

If zowe zos-jobs enforces the encoding rules, I could encode a $ character, which will remain a $ character when submitting, and also a $ character when retrieving outputs.

FALLAI-Denis avatar Jul 18 '22 06:07 FALLAI-Denis

See also #1463

FALLAI-Denis avatar Jul 18 '22 06:07 FALLAI-Denis

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.

github-actions[bot] avatar Mar 09 '23 18:03 github-actions[bot]

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.

github-actions[bot] avatar Mar 10 '23 15:03 github-actions[bot]